summaryrefslogtreecommitdiff
path: root/source4/build/pidl/eparser.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-11 15:49:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:44 -0500
commit3f68161741e5213d462b491612ba39c56c083f4b (patch)
tree35b1aac6c4b8c2aa29afb67f9ee14bd24a6fc944 /source4/build/pidl/eparser.pm
parent4180eedd6d8a926d7a2f25b14b7a2cad084b44a9 (diff)
downloadsamba-3f68161741e5213d462b491612ba39c56c083f4b.tar.gz
samba-3f68161741e5213d462b491612ba39c56c083f4b.tar.bz2
samba-3f68161741e5213d462b491612ba39c56c083f4b.zip
r5338: More efforts to handle types similarly.
(This used to be commit 95c4f3149925ee71e74ea36fae3a65d2eebf717c)
Diffstat (limited to 'source4/build/pidl/eparser.pm')
-rw-r--r--source4/build/pidl/eparser.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index dd60ff7729..ee3dcf6158 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -165,7 +165,7 @@ sub NeededFunction($)
# Add entries for function arguments
- foreach my $e (@{$fn->{DATA}}) {
+ foreach my $e (@{$fn->{ELEMENTS}}) {
$e->{PARENT} = $fn;
$needed{"pull_$e->{TYPE}"} = 1;
@@ -280,17 +280,17 @@ sub NeededTypedef($)
if ($t->{DATA}->{TYPE} eq "UNION") {
- for my $e (@{$t->{DATA}->{DATA}}) {
+ for my $e (@{$t->{DATA}->{ELEMENTS}}) {
$e->{PARENT} = $t->{DATA};
if ($e->{TYPE} eq "UNION_ELEMENT") {
if ($needed{"pull_$t->{NAME}"}) {
- $needed{"pull_$e->{DATA}->{TYPE}"} = 1;
+ $needed{"pull_$e->{ELEMENTS}->{TYPE}"} = 1;
}
- $needed{"ett_$e->{DATA}{TYPE}"} = 1;
+ $needed{"ett_$e->{ELEMENTS}{TYPE}"} = 1;
}
}