summaryrefslogtreecommitdiffstats
path: root/source4/pidl/idl.yp
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-07 17:18:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-15 17:36:58 +0200
commit7b88d09d8dbb1a31e4266a39e2ff5e93dcc529c0 (patch)
tree9f41d4f3a69fbca13d571f34a25f10213b6fb610 /source4/pidl/idl.yp
parent952be0f104a1ccf44b2115bad61304512f096721 (diff)
downloadsamba-7b88d09d8dbb1a31e4266a39e2ff5e93dcc529c0.tar.gz
samba-7b88d09d8dbb1a31e4266a39e2ff5e93dcc529c0.tar.xz
samba-7b88d09d8dbb1a31e4266a39e2ff5e93dcc529c0.zip
Reimport pidl support for COM.
Diffstat (limited to 'source4/pidl/idl.yp')
-rw-r--r--source4/pidl/idl.yp11
1 files changed, 9 insertions, 2 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp
index a0323af8ee..8589982a2c 100644
--- a/source4/pidl/idl.yp
+++ b/source4/pidl/idl.yp
@@ -67,17 +67,24 @@ interface_names:
| interface_names 'interface' identifier ';' { push(@{$_[1]}, $_[2]); $_[1] }
;
-interface: property_list 'interface' identifier '{' definitions '}' optional_semicolon
+interface: property_list 'interface' identifier base_interface '{' definitions '}' optional_semicolon
{{
"TYPE" => "INTERFACE",
"PROPERTIES" => $_[1],
"NAME" => $_[3],
- "DATA" => $_[5],
+ "BASE" => $_[4],
+ "DATA" => $_[6],
"FILE" => $_[0]->YYData->{FILE},
"LINE" => $_[0]->YYData->{LINE},
}}
;
+base_interface:
+ #empty
+ | ':' identifier { $_[2] }
+;
+
+
cpp_quote: 'cpp_quote' '(' text ')'
{{
"TYPE" => "CPP_QUOTE",