summaryrefslogtreecommitdiff
path: root/source4/build/pidl/pidl.pl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-20 06:34:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-20 06:34:18 +0000
commit08026ca1e05ef84cc8017ab632c08dfff7bdd98f (patch)
treeb6f67b5dfeb242a398060a00a38044c801e3e4f7 /source4/build/pidl/pidl.pl
parent0b0295c232041d9c771a8a9454dc58c945388784 (diff)
downloadsamba-08026ca1e05ef84cc8017ab632c08dfff7bdd98f.tar.gz
samba-08026ca1e05ef84cc8017ab632c08dfff7bdd98f.tar.bz2
samba-08026ca1e05ef84cc8017ab632c08dfff7bdd98f.zip
a bit neater way of emitting code
(This used to be commit 964c3237215b36f5768b98c19689ddc43cf86cac)
Diffstat (limited to 'source4/build/pidl/pidl.pl')
-rwxr-xr-xsource4/build/pidl/pidl.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl
index f68a722382..49bd2e3b57 100755
--- a/source4/build/pidl/pidl.pl
+++ b/source4/build/pidl/pidl.pl
@@ -128,7 +128,7 @@ if ($opt_parser) {
my($idl) = util::LoadStructure($pidl_file);
my($parser) = util::ChangeExtension($opt_output, "c");
print "Generating $parser\n";
- util::FileSave($parser, IdlParser::Parse($idl));
+ IdlParser::Parse($idl, $parser);
}
if ($opt_eparser) {