summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba/TDR.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-17 14:36:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:14 -0500
commitf1d065128d8715e9ee34a31bbdc60d9d4e00a6a8 (patch)
tree04b0e22bb41e4cd0ecca1e92c30509ddaf65b4e3 /source4/pidl/lib/Parse/Pidl/Samba/TDR.pm
parent8aa2c913a0c2c7cdd1e1becacc825749b1d2bd44 (diff)
downloadsamba-f1d065128d8715e9ee34a31bbdc60d9d4e00a6a8.tar.gz
samba-f1d065128d8715e9ee34a31bbdc60d9d4e00a6a8.tar.bz2
samba-f1d065128d8715e9ee34a31bbdc60d9d4e00a6a8.zip
r10296: Fix function pointer handling for older perl versions
(This used to be commit 0949db8119af548c199930c64449d6ca2228bcb5)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba/TDR.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba/TDR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba/TDR.pm b/source4/pidl/lib/Parse/Pidl/Samba/TDR.pm
index b5637f8cbf..124cb61bb4 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba/TDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba/TDR.pm
@@ -200,7 +200,7 @@ sub ParserTypedef($$)
{ STRUCT => \&ParserStruct, UNION => \&ParserUnion,
ENUM => \&ParserEnum, BITMAP => \&ParserBitmap
- }->{$e->{DATA}->{TYPE}}($e->{DATA}, $e->{NAME}, $t, has_property($e, "public"));
+ }->{$e->{DATA}->{TYPE}}->($e->{DATA}, $e->{NAME}, $t, has_property($e, "public"));
pidl "";
}