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.gram5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/build/pidl/idl.gram b/source4/build/pidl/idl.gram
index c08c6b0e81..956b3e9ff9 100644
--- a/source4/build/pidl/idl.gram
+++ b/source4/build/pidl/idl.gram
@@ -76,7 +76,10 @@ base_element: property_list(s?) type pointer(s?) identifier array_len(?)
}}
| <error>
-array_len: '[' <commit> constant ']'
+array_len:
+ '[]'
+ { "*" }
+ | '[' <commit> constant ']'
{ $item{constant} }
| <error?>