summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-02 14:53:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:05 -0500
commit1afda7bdde90948027e3230c19753280afb16e96 (patch)
treedda7b444c717d1b2fbabdb18194e4373102176b1 /source4/pidl/lib/Parse/Pidl/Samba4
parentf653871d770006620533b7dc50f350991d567712 (diff)
downloadsamba-1afda7bdde90948027e3230c19753280afb16e96.tar.gz
samba-1afda7bdde90948027e3230c19753280afb16e96.tar.bz2
samba-1afda7bdde90948027e3230c19753280afb16e96.zip
r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
(This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index ac4b390e76..eaf66ea0c3 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -1481,8 +1481,6 @@ sub ParseStructPrint($$$)
my $env = GenerateStructEnv($struct, $varname);
- EnvSubstituteValue($env, $struct);
-
DeclareArrayVariables($_) foreach (@{$struct->{ELEMENTS}});
pidl "ndr_print_struct(ndr, name, \"$name\");";
@@ -2049,7 +2047,6 @@ sub ParseFunctionPrint($)
pidl "ndr->depth++;";
my $env = GenerateFunctionInEnv($fn);
- EnvSubstituteValue($env, $fn);
foreach my $e (@{$fn->{ELEMENTS}}) {
if (grep(/in/,@{$e->{DIRECTION}})) {