summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.gram
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-09 00:57:27 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-09 00:57:27 +0000
commit2430e941d748beebd1297c83d176982e7ff89be7 (patch)
tree4b6e526724a654b93fae48b8453217a86c3c2096 /source4/build/pidl/idl.gram
parent574a11bd3720b4d9fd66b386ff32bdcfaf259478 (diff)
downloadsamba-2430e941d748beebd1297c83d176982e7ff89be7.tar.gz
samba-2430e941d748beebd1297c83d176982e7ff89be7.tar.bz2
samba-2430e941d748beebd1297c83d176982e7ff89be7.zip
added fixes for the pushing of arrays and handling non-ref pointers in
function arguments (This used to be commit 25be8dafdae65d9b6cbd04514290f1402e882f4e)
Diffstat (limited to 'source4/build/pidl/idl.gram')
-rw-r--r--source4/build/pidl/idl.gram3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/idl.gram b/source4/build/pidl/idl.gram
index 4ebd8fabe1..a5e89aadf4 100644
--- a/source4/build/pidl/idl.gram
+++ b/source4/build/pidl/idl.gram
@@ -25,7 +25,8 @@ interface: 'interface' <commit> identifier '{' definition(s?) '}'
}}
| <error?>
-definition : typedef { $item[1] }
+definition : cpp_prefix
+ | typedef { $item[1] }
| function { $item[1] }
typedef : 'typedef' <commit> type identifier array_len(?) ';'