diff options
Diffstat (limited to 'source4/pidl/idl.yp')
-rw-r--r-- | source4/pidl/idl.yp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp index 1f6f22e1a1..43f1db82c8 100644 --- a/source4/pidl/idl.yp +++ b/source4/pidl/idl.yp @@ -174,7 +174,7 @@ enum_element: identifier | identifier '=' anytext { "$_[1]$_[2]$_[3]" } ; -bitmap_body: '{' bitmap_elements '}' { $_[2] }; +bitmap_body: '{' opt_bitmap_elements '}' { $_[2] }; opt_bitmap_body: | bitmap_body; bitmap: 'bitmap' optional_identifier opt_bitmap_body {{ @@ -189,6 +189,8 @@ bitmap_elements: | bitmap_elements ',' bitmap_element { push(@{$_[1]}, $_[3]); $_[1] } ; +opt_bitmap_elements: | bitmap_elements; + bitmap_element: identifier '=' anytext { "$_[1] ( $_[3] )" } ; |