diff options
Diffstat (limited to 'source4/build/pidl/idl.gram')
-rw-r--r-- | source4/build/pidl/idl.gram | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/build/pidl/idl.gram b/source4/build/pidl/idl.gram index 1e96431e47..f340b9787e 100644 --- a/source4/build/pidl/idl.gram +++ b/source4/build/pidl/idl.gram @@ -78,10 +78,12 @@ base_element: property_list(s?) type pointer(s?) identifier array_len(?) | <error> array_len: - '[]' + '[' ']' { "*" } - | '[' <commit> constant ']' - { $item{constant} } + | '[' '*' ']' + { "*" } + | '[' <commit> text ']' + { "$item{text}" } | <error?> element_list1: base_element(s? /;/) ';' @@ -105,6 +107,7 @@ property: 'unique' | 'context_handle' | 'string' | 'public' + | 'relative' | 'subcontext' | 'byte_count_pointer' '(' expression ')' {{ "$item[1]" => "$item{expression}" }} | 'size_is' '(' expression ')' {{ "$item[1]" => "$item{expression}" }} |