summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.gram
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-13 09:23:58 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-13 09:23:58 +0000
commitff02537261e53b4ec60e5dcad32bf4207065b028 (patch)
treea310cee110d554fbc5139e4c4eb52f518c7a7e48 /source4/build/pidl/idl.gram
parent6714815f014ae1b31d0675214d023e3afe2389f0 (diff)
downloadsamba-ff02537261e53b4ec60e5dcad32bf4207065b028.tar.gz
samba-ff02537261e53b4ec60e5dcad32bf4207065b028.tar.bz2
samba-ff02537261e53b4ec60e5dcad32bf4207065b028.zip
I think we now handle conformant arrays in structures correctly - the
test cases pass (This used to be commit 22e15023509f8f1682865d72765e79f41ab7d149)
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?>