summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Typelist.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-28 00:28:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:58 -0500
commita635df47da4c0f8434dc51349600edf9ef0805f1 (patch)
treef5165cc63105958e2488b1eb5a1752e19a57620a /source4/pidl/lib/Parse/Pidl/Typelist.pm
parentc1aef15fe7e7a7558b6ede11babc1932263814e6 (diff)
downloadsamba-a635df47da4c0f8434dc51349600edf9ef0805f1.tar.gz
samba-a635df47da4c0f8434dc51349600edf9ef0805f1.tar.bz2
samba-a635df47da4c0f8434dc51349600edf9ef0805f1.zip
r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464bf269176f928a5b3b7e63aad1bb1e7a)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Typelist.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Typelist.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Typelist.pm b/source4/pidl/lib/Parse/Pidl/Typelist.pm
index 72c4b18d0b..8e311554bc 100644
--- a/source4/pidl/lib/Parse/Pidl/Typelist.pm
+++ b/source4/pidl/lib/Parse/Pidl/Typelist.pm
@@ -132,6 +132,7 @@ sub hasType($)
sub is_scalar($)
{
+ sub is_scalar($);
my $type = shift;
return 1 if (ref($type) eq "HASH" and $type->{TYPE} eq "SCALAR");