aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pidl/idl.yp
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-10-18 14:59:30 +0000
committerJörg Mayer <jmayer@loplof.de>2005-10-18 14:59:30 +0000
commit71df36b8149b8c5367ade3931002cd06f6eb41b0 (patch)
tree316484f9c8a22f03db030d856b08db63cb3bab26 /tools/pidl/idl.yp
parentf4eaf406488595c352715d034e1aa6d38af6ac50 (diff)
Update from samba tree
svn path=/trunk/; revision=16264
Diffstat (limited to 'tools/pidl/idl.yp')
-rw-r--r--tools/pidl/idl.yp16
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/pidl/idl.yp b/tools/pidl/idl.yp
index b703d4fa72..2613f11320 100644
--- a/tools/pidl/idl.yp
+++ b/tools/pidl/idl.yp
@@ -62,22 +62,24 @@ definitions:
definition: function | const | typedef | declare | typedecl
;
-const: 'const' identifier identifier '=' anytext ';'
+const: 'const' identifier pointers identifier '=' anytext ';'
{{
"TYPE" => "CONST",
"DTYPE" => $_[2],
- "NAME" => $_[3],
- "VALUE" => $_[5],
+ "POINTERS" => $_[3],
+ "NAME" => $_[4],
+ "VALUE" => $_[6],
"FILE" => $_[0]->YYData->{INPUT_FILENAME},
"LINE" => $_[0]->YYData->{LINE},
}}
- | 'const' identifier identifier array_len '=' anytext ';'
+ | 'const' identifier pointers identifier array_len '=' anytext ';'
{{
"TYPE" => "CONST",
"DTYPE" => $_[2],
- "NAME" => $_[3],
- "ARRAY_LEN" => $_[4],
- "VALUE" => $_[6],
+ "POINTERS" => $_[3],
+ "NAME" => $_[4],
+ "ARRAY_LEN" => $_[5],
+ "VALUE" => $_[7],
"FILE" => $_[0]->YYData->{INPUT_FILENAME},
"LINE" => $_[0]->YYData->{LINE},
}}