From fa3db33a5441ed31f9d8c19dc6984d160b86e4da Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 Nov 2003 12:29:23 +0000 Subject: updated pidl to auto-generate the ndr_push_*() functions for the Samba4 rpc framework not complete, but sufficient for a number of lsa functions (This used to be commit 42cd6904f51bac1ff92f0aea0deffb11864dfac2) --- source4/build/pidl/pidl.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/build/pidl/pidl.pl') diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl index 6b32ade75a..a332671e34 100755 --- a/source4/build/pidl/pidl.pl +++ b/source4/build/pidl/pidl.pl @@ -7,6 +7,10 @@ # released under the GNU GPL use strict; + +my($PIDLBASE) = "$ENV{HOME}/pidl"; +use lib "$ENV{HOME}/pidl"; + use Getopt::Long; use Data::Dumper; use Parse::RecDescent; @@ -35,9 +39,10 @@ sub IdlParse($) $item[1] : "XX_" . $item[0] . "_XX[$#item]" }; my($filename) = shift; - my($grammer) = util::FileLoad("idl.gram"); + my($grammer) = util::FileLoad("$PIDLBASE/idl.gram"); my($parser) = Parse::RecDescent->new($grammer); my($saved_sep) = $/; + undef $/; my($idl) = $parser->idl(`cpp $filename`); $/ = $saved_sep; -- cgit