summaryrefslogtreecommitdiff
path: root/source4/build/pidl/parser.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-14 08:44:38 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-14 08:44:38 +0000
commite2898c098fa090303ad0df67d5a9c454bac63e86 (patch)
treefe2e118dc23c7114869cb057bea2ff246e239d86 /source4/build/pidl/parser.pm
parent089ae5e43543a4654dddd42d61eb84a8036c4780 (diff)
downloadsamba-e2898c098fa090303ad0df67d5a9c454bac63e86.tar.gz
samba-e2898c098fa090303ad0df67d5a9c454bac63e86.tar.bz2
samba-e2898c098fa090303ad0df67d5a9c454bac63e86.zip
fix _ptr_ declaration
(This used to be commit 5fed4681edc93405a8b39080adfe72af8beea65d)
Diffstat (limited to 'source4/build/pidl/parser.pm')
-rw-r--r--source4/build/pidl/parser.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm
index d7f3814abd..67602c4262 100644
--- a/source4/build/pidl/parser.pm
+++ b/source4/build/pidl/parser.pm
@@ -770,8 +770,6 @@ sub ParseStructPull($)
return;
}
- start_flags($struct);
-
# see if the structure contains a conformant array. If it
# does, then it must be the last element of the structure, and
# we need to pull the conformant length early, as it fits on
@@ -792,6 +790,8 @@ sub ParseStructPull($)
}
}
+ start_flags($struct);
+
pidl "\tif (!(ndr_flags & NDR_SCALARS)) goto buffers;\n";
pidl "\tNDR_CHECK(ndr_pull_struct_start(ndr));\n";