diff options
Diffstat (limited to 'source4/pidl/idl.yp')
-rw-r--r-- | source4/pidl/idl.yp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp index b703d4fa72..2613f11320 100644 --- a/source4/pidl/idl.yp +++ b/source4/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}, }} |