diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-08-05 13:43:49 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-09-28 23:06:52 +0200 |
commit | fcee50b9c9ca157c839df5761ca0a2f87fc1ac33 (patch) | |
tree | 243538855f19031e2fe1264781105ed2a2af4b45 /pidl/idl.yp | |
parent | d4636c47c70d4ef5441a33cc6ef5eb469cf11bff (diff) | |
download | samba-fcee50b9c9ca157c839df5761ca0a2f87fc1ac33.tar.gz |
pidl: add support for pointers in typedefs
metze
Diffstat (limited to 'pidl/idl.yp')
-rw-r--r-- | pidl/idl.yp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pidl/idl.yp b/pidl/idl.yp index dc8e293f765..b3d5ed16ac0 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}, }} |