summaryrefslogtreecommitdiff
path: root/source4/build/pidl/pidl.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-10 23:34:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:41 -0500
commitaf7e9f2b5907a36d0d3c454d9ba9e49f98a11426 (patch)
treec8001af267f36f9054902f4aa63fc48dd84024ee /source4/build/pidl/pidl.pl
parent341395db51fb69c8bb0817ff3b59b6166c02966f (diff)
downloadsamba-af7e9f2b5907a36d0d3c454d9ba9e49f98a11426.tar.gz
samba-af7e9f2b5907a36d0d3c454d9ba9e49f98a11426.tar.bz2
samba-af7e9f2b5907a36d0d3c454d9ba9e49f98a11426.zip
r5319: Make some more alignment code generic, move NDR-specific stuff to
parser.pm (now renamed to ndr.pm). (This used to be commit a469a5fefb4e6941264c11f4bde60eab71f6f7aa)
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);