diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-01 12:26:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:10 -0500 |
commit | a78c26beaa22aa655b6c094475019d29825dd77c (patch) | |
tree | d1077f33c28d68e32fa3cdf80ae43bf491cfa0ae /source4/build/pidl/idl.yp | |
parent | 8c1edd1674fd073f3b4274a940f598e33319dd12 (diff) | |
download | samba-a78c26beaa22aa655b6c094475019d29825dd77c.tar.gz samba-a78c26beaa22aa655b6c094475019d29825dd77c.tar.bz2 samba-a78c26beaa22aa655b6c094475019d29825dd77c.zip |
r3431: Allow optional semicolon after interface definitions
(This used to be commit edbd789abb505accd3e72863d13acd2603d991f6)
Diffstat (limited to 'source4/build/pidl/idl.yp')
-rw-r--r-- | source4/build/pidl/idl.yp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp index bf94bedcdf..a98dbd9104 100644 --- a/source4/build/pidl/idl.yp +++ b/source4/build/pidl/idl.yp @@ -21,7 +21,7 @@ idl: } ; -interface: property_list 'interface' identifier base_interface '{' definitions '}' +interface: property_list 'interface' identifier base_interface '{' definitions '}' optional_semicolon {$_[3] => { "TYPE" => "INTERFACE", "PROPERTIES" => $_[1], @@ -225,6 +225,11 @@ constant: CONSTANT text: TEXT { "\"$_[1]\"" } ; +optional_semicolon: + #empty + | ';' +; + ##################################### # start code |