diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 04:15:39 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 04:15:39 +0200 |
commit | e9d44b2e1cbfe4f5b318086423649ece39ce6ef9 (patch) | |
tree | 1f4643ec8e00a32bee84173f6ebb4fbb30765ce0 /source4/pidl | |
parent | c212a65b65ba0100ceb9c4fa48c1f44dc0c804f5 (diff) | |
download | samba-e9d44b2e1cbfe4f5b318086423649ece39ce6ef9.tar.gz samba-e9d44b2e1cbfe4f5b318086423649ece39ce6ef9.tar.bz2 samba-e9d44b2e1cbfe4f5b318086423649ece39ce6ef9.zip |
Import proper IDL for interface pointers.
Diffstat (limited to 'source4/pidl')
-rw-r--r-- | source4/pidl/idl.yp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp index 8589982a2c..d557590494 100644 --- a/source4/pidl/idl.yp +++ b/source4/pidl/idl.yp @@ -276,11 +276,16 @@ element_list1: | element_list1 base_element ';' { push(@{$_[1]}, $_[2]); $_[1] } ; +optional_const: + #empty + | 'const' +; + element_list2: #empty | 'void' - | base_element { [ $_[1] ] } - | element_list2 ',' base_element { push(@{$_[1]}, $_[3]); $_[1] } + | optional_const base_element { [ $_[2] ] } + | element_list2 ',' optional_const base_element { push(@{$_[1]}, $_[4]); $_[1] } ; array_len: |