diff options
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/ndr.pm | 2 | ||||
-rw-r--r-- | source4/build/pidl/validator.pm | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/source4/build/pidl/ndr.pm b/source4/build/pidl/ndr.pm index febf292c8a..09b2f0f257 100644 --- a/source4/build/pidl/ndr.pm +++ b/source4/build/pidl/ndr.pm @@ -452,7 +452,7 @@ sub ParseFunction($$$) $ndr->{PROPERTIES}->{pointer_default_top} ); - if (not defined($d->{PROPERTIES}{noid})) { + if (not defined($d->{PROPERTIES}{noopnum})) { $thisopnum = ${$opnum}; ${$opnum}++; } diff --git a/source4/build/pidl/validator.pm b/source4/build/pidl/validator.pm index 647a906878..50f7083b4b 100644 --- a/source4/build/pidl/validator.pm +++ b/source4/build/pidl/validator.pm @@ -62,8 +62,7 @@ my %property_list = ( "idempotent" => {}, # function - "id" => {},# what is that? --metze - "noid" => {}, + "noopnum" => {}, "in" => {}, "out" => {}, @@ -259,14 +258,6 @@ sub ValidFunction($) ValidProperties($fn); - if (util::has_property($fn, "id")) { - nonfatal $fn, "[id()] is not correctly supported yet ($fn->{NAME})"; - } - - if (util::has_property($fn, "id") and util::has_property($fn, "noid")) { - fatal $fn, "function can't have [id()] and [noid] property ($fn->{NAME})"; - } - foreach my $e (@{$fn->{ELEMENTS}}) { $e->{PARENT} = $fn; if (util::has_property($e, "ref") && !$e->{POINTERS}) { |