summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.yp
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/idl.yp')
-rw-r--r--source4/build/pidl/idl.yp7
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