diff options
Diffstat (limited to 'source4/build/pidl/pidl.pl')
-rwxr-xr-x | source4/build/pidl/pidl.pl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl index a541bd2717..4379ecba51 100755 --- a/source4/build/pidl/pidl.pl +++ b/source4/build/pidl/pidl.pl @@ -145,12 +145,6 @@ sub process_file($) my($eparserhdr) = dirname($output) . "/packet-dcerpc-$basename.h"; IdlEParser::RewriteHeader($pidl, $header, $eparserhdr); } - if ($opt_swig) { - my($filename) = $output; - $filename =~ s/\/ndr_/\//; - $filename = util::ChangeExtension($filename, ".i"); - IdlSwig::RewriteHeader($pidl, $header, $filename); - } } if ($opt_client) { @@ -220,7 +214,7 @@ $dcom my($filename) = $output; $filename =~ s/\/ndr_/\//; $filename = util::ChangeExtension($filename, ".i"); - IdlSwig::RewriteC($pidl, $parser, $filename); + util::FileSave($pidl, IdlSwig::Parse($pidl)); } } |