summaryrefslogtreecommitdiff
path: root/source4/build/pidl/pidl.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/pidl.pl')
-rwxr-xr-xsource4/build/pidl/pidl.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl
index 7eb684e706..514421e690 100755
--- a/source4/build/pidl/pidl.pl
+++ b/source4/build/pidl/pidl.pl
@@ -20,7 +20,7 @@ use server;
use client;
use proxy;
use stub;
-use parser;
+use ndr;
use eparser;
use validator;
use util;
@@ -70,7 +70,7 @@ sub ShowHelp()
--parse parse a idl file to a .pidl file
--dump dump a pidl file back to idl
--header create a C header file
- --parser create a C parser
+ --parser create a C NDR parser
--client create a C client
--server create server boilerplate
--template print a template for a pipe
@@ -211,7 +211,7 @@ $dcom
if ($opt_parser) {
my($parser) = util::ChangeExtension($output, ".c");
- IdlParser::Parse($pidl, $parser);
+ util::FileSave($parser, NdrParser::Parse($pidl, $parser));
if($opt_eparser) {
my($eparser) = dirname($output) . "/packet-dcerpc-$basename.c";
IdlEParser::RewriteC($pidl, $parser, $eparser);