summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.yp
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-21 12:13:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:49 -0500
commit600c49e772bea70682dc6ef9f6f961c94faed457 (patch)
treeeb01dd99f774cbad2c2b2c422b826b53df91d8c3 /source4/build/pidl/idl.yp
parent3d507012fe4dc5dc21f7c055dc6c39b117a87d34 (diff)
downloadsamba-600c49e772bea70682dc6ef9f6f961c94faed457.tar.gz
samba-600c49e772bea70682dc6ef9f6f961c94faed457.tar.bz2
samba-600c49e772bea70682dc6ef9f6f961c94faed457.zip
r5486: - Use references to interfaces in coclasses rather then
full interfaces. - Couple of bugfixes in odl.pm - First use of multiple pointers in dcom.idl (This used to be commit 3110c2ec44a872a53e7d6015b85c68fdb604b4de)
Diffstat (limited to 'source4/build/pidl/idl.yp')
-rw-r--r--source4/build/pidl/idl.yp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp
index b12c45c34d..3f670c7b2f 100644
--- a/source4/build/pidl/idl.yp
+++ b/source4/build/pidl/idl.yp
@@ -20,7 +20,7 @@ idl:
| idl coclass { push(@{$_[1]}, $_[2]); $_[1] }
;
-coclass: property_list 'coclass' identifier '{' interfaces '}' optional_semicolon
+coclass: property_list 'coclass' identifier '{' interface_names '}' optional_semicolon
{$_[3] => {
"TYPE" => "COCLASS",
"PROPERTIES" => $_[1],
@@ -29,9 +29,9 @@ coclass: property_list 'coclass' identifier '{' interfaces '}' optional_semicolo
}}
;
-interfaces:
+interface_names:
#empty { {} }
- | interfaces interface { push(@{$_[1]}, $_[2]); $_[1] }
+ | interface_names 'interface' identifier ';' { push(@{$_[1]}, $_[2]); $_[1] }
;
interface: property_list 'interface' identifier base_interface '{' definitions '}' optional_semicolon