summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.gram
diff options
context:
space:
mode:
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(?) ';'