diff options
author | Tim Potter <tpot@samba.org> | 2005-08-02 14:58:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:57 -0500 |
commit | 4f677289b478ac4adf9afffff0517dfa5337d13d (patch) | |
tree | 19359bff5ff05d41c65bce297cdeed4accf6ba09 /source4/build | |
parent | f297f82398d77e5d2fe5faf5de8b581ad5a6acd1 (diff) | |
download | samba-4f677289b478ac4adf9afffff0517dfa5337d13d.tar.gz samba-4f677289b478ac4adf9afffff0517dfa5337d13d.tar.bz2 samba-4f677289b478ac4adf9afffff0517dfa5337d13d.zip |
r8918: Handle const elements in structures or unions. This is a bit yucky but
making an optional_const rule puts the parser in an infinite loop (?).
(This used to be commit 6339cc75fae8296757c4609cede1d5703b90d52a)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/smb_interfaces.yp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/build/pidl/smb_interfaces.yp b/source4/build/pidl/smb_interfaces.yp index 704c0522ba..0281fad4c6 100644 --- a/source4/build/pidl/smb_interfaces.yp +++ b/source4/build/pidl/smb_interfaces.yp @@ -70,6 +70,12 @@ element: | union | STRUCT IDENTIFIER pointers IDENTIFIER ';' | UNION IDENTIFIER pointers IDENTIFIER ';' + | CONST type pointers IDENTIFIER array ';' + {{ + "NAME" => $_[4], + "TYPE" => $_[2], + "POINTERS" => $_[3], + }} | type pointers IDENTIFIER array ';' {{ "NAME" => $_[3], |