diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-11 23:00:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:04 -0500 |
commit | 39f1f55610594c4b82c4b0f1ec7c9611b2f3f8a4 (patch) | |
tree | 2109ddb86684b0790b2f9b76c1a67f7c81b3ece7 /source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm | |
parent | be6c9f9a4ea557f5415070fc27772a3d25b57a60 (diff) | |
download | samba-39f1f55610594c4b82c4b0f1ec7c9611b2f3f8a4.tar.gz samba-39f1f55610594c4b82c4b0f1ec7c9611b2f3f8a4.tar.bz2 samba-39f1f55610594c4b82c4b0f1ec7c9611b2f3f8a4.zip |
r14215: Improve warning/error messages.
(This used to be commit 80b9865b373ee542da2d56d6688b4c8fd4c6275c)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm index c12f7554e9..a6b4b38cdf 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/Parser.pm @@ -22,7 +22,7 @@ my $tabs = ""; sub indent() { $tabs.="\t"; } sub deindent() { $tabs = substr($tabs, 1); } sub pidl($) { $res .= $tabs.(shift)."\n"; } -sub fatal($$) { my ($e,$s) = @_; die("$e->{FILE}:$e->{LINE}: $s\n"); } +sub fatal($$) { my ($e,$s) = @_; die("$e->{ORIGINAL}->{FILE}:$e->{ORIGINAL}->{LINE}: $s\n"); } #TODO: # - Add some security checks (array sizes, memory alloc == NULL, etc) |