diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-07 17:18:18 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-15 17:36:58 +0200 |
commit | 7b88d09d8dbb1a31e4266a39e2ff5e93dcc529c0 (patch) | |
tree | 9f41d4f3a69fbca13d571f34a25f10213b6fb610 /source4/pidl/idl.yp | |
parent | 952be0f104a1ccf44b2115bad61304512f096721 (diff) | |
download | samba-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.yp | 11 |
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", |