summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-21 21:27:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:54 -0500
commitc84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1 (patch)
tree81abe1ecfa802a9d77ec4aa27e7b3df134d7e2e2 /source4/build/pidl
parent2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6 (diff)
downloadsamba-c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1.tar.gz
samba-c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1.tar.bz2
samba-c84512f0e1c1dd6ac0cb3e9b5e2fbb2f3c0d4eb1.zip
r8690: Code cleanups, improvements necessary for dependencies (not added yet)
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/Parse/Pidl/IDL.pm6
-rw-r--r--source4/build/pidl/idl.yp6
2 files changed, 4 insertions, 8 deletions
diff --git a/source4/build/pidl/Parse/Pidl/IDL.pm b/source4/build/pidl/Parse/Pidl/IDL.pm
index d0143632e0..7f7e5bcdca 100644
--- a/source4/build/pidl/Parse/Pidl/IDL.pm
+++ b/source4/build/pidl/Parse/Pidl/IDL.pm
@@ -2535,8 +2535,7 @@ sub _Lexer($)
{
my($parser)=shift;
- $parser->YYData->{INPUT}
- or return('',undef);
+ $parser->YYData->{INPUT} or return('',undef);
again:
$parser->YYData->{INPUT} =~ s/^[ \t]*//;
@@ -2587,8 +2586,7 @@ again:
sub parse_idl($$)
{
- my $self = shift;
- my $filename = shift;
+ my ($self,$filename) = @_;
my $saved_delim = $/;
undef $/;
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp
index 23403fbef4..40d2809dad 100644
--- a/source4/build/pidl/idl.yp
+++ b/source4/build/pidl/idl.yp
@@ -362,8 +362,7 @@ sub _Lexer($)
{
my($parser)=shift;
- $parser->YYData->{INPUT}
- or return('',undef);
+ $parser->YYData->{INPUT} or return('',undef);
again:
$parser->YYData->{INPUT} =~ s/^[ \t]*//;
@@ -414,8 +413,7 @@ again:
sub parse_idl($$)
{
- my $self = shift;
- my $filename = shift;
+ my ($self,$filename) = @_;
my $saved_delim = $/;
undef $/;