summaryrefslogtreecommitdiff
path: root/pidl/idl.yp
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-05 13:43:49 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-28 23:06:52 +0200
commitfcee50b9c9ca157c839df5761ca0a2f87fc1ac33 (patch)
tree243538855f19031e2fe1264781105ed2a2af4b45 /pidl/idl.yp
parentd4636c47c70d4ef5441a33cc6ef5eb469cf11bff (diff)
downloadsamba-fcee50b9c9ca157c839df5761ca0a2f87fc1ac33.tar.gz
samba-fcee50b9c9ca157c839df5761ca0a2f87fc1ac33.tar.bz2
samba-fcee50b9c9ca157c839df5761ca0a2f87fc1ac33.zip
pidl: add support for pointers in typedefs
metze
Diffstat (limited to 'pidl/idl.yp')
-rw-r--r--pidl/idl.yp7
1 files changed, 4 insertions, 3 deletions
diff --git a/pidl/idl.yp b/pidl/idl.yp
index dc8e293f76..b3d5ed16ac 100644
--- a/pidl/idl.yp
+++ b/pidl/idl.yp
@@ -169,13 +169,14 @@ function:
;
typedef:
- property_list 'typedef' type identifier array_len ';'
+ property_list 'typedef' type pointers identifier array_len ';'
{{
"TYPE" => "TYPEDEF",
"PROPERTIES" => $_[1],
- "NAME" => $_[4],
+ "NAME" => $_[5],
"DATA" => $_[3],
- "ARRAY_LEN" => $_[5],
+ "POINTERS" => $_[4],
+ "ARRAY_LEN" => $_[6],
"FILE" => $_[0]->YYData->{FILE},
"LINE" => $_[0]->YYData->{LINE},
}}