summaryrefslogtreecommitdiff
path: root/source4/build/pidl/parser.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/parser.pm')
-rw-r--r--source4/build/pidl/parser.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm
index df05d7fdba..41976cfdc9 100644
--- a/source4/build/pidl/parser.pm
+++ b/source4/build/pidl/parser.pm
@@ -74,7 +74,7 @@ sub find_size_var($$)
return $size;
}
- if ($size =~ /ndr->/) {
+ if ($size =~ /ndr->|\(/) {
return $size;
}
@@ -371,6 +371,10 @@ sub ParseElementPrintScalar($$)
my($var_prefix) = shift;
my $cprefix = util::c_push_prefix($e);
+ if (util::has_property($e, "noprint")) {
+ return;
+ }
+
if (defined $e->{VALUE}) {
pidl "\tndr_print_$e->{TYPE}(ndr, \"$e->{NAME}\", $e->{VALUE});\n";
} elsif (util::has_direct_buffers($e)) {