1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r7109: Change noid() to noopnum() so it isn't confusing to people familiar with id()

(This used to be commit 7721fc727426ae9fcc26afa773f855aa232df637)
This commit is contained in:
Jelmer Vernooij 2005-05-30 13:48:35 +00:00 committed by Gerald (Jerry) Carter
parent a0986dd424
commit 022b973a2a
2 changed files with 2 additions and 11 deletions

View File

@ -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}++;
}

View File

@ -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}) {