summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-05-14 18:35:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:46 -0500
commitb79455e0d24690f5bdb0fc3f78376f2249289f1c (patch)
treeafd2b5ceeafd64ba902c7dd47230920471448ed3 /source4/build/pidl/idl.pm
parentfb011fa40463057047420688c00462c49c2b0c28 (diff)
downloadsamba-b79455e0d24690f5bdb0fc3f78376f2249289f1c.tar.gz
samba-b79455e0d24690f5bdb0fc3f78376f2249289f1c.tar.bz2
samba-b79455e0d24690f5bdb0fc3f78376f2249289f1c.zip
r738: Use same error message format as is used by compilers when reporting
syntax errors (some editors parse these strings and jump to the erroneous line directly) (This used to be commit 6857efacccb1af69abd46e8867a0b4b3c26801db)
Diffstat (limited to 'source4/build/pidl/idl.pm')
-rw-r--r--source4/build/pidl/idl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/idl.pm b/source4/build/pidl/idl.pm
index ee7fd8d9cf..e469c0fdc8 100644
--- a/source4/build/pidl/idl.pm
+++ b/source4/build/pidl/idl.pm
@@ -1917,7 +1917,7 @@ sub _Error {
my $last_token = $_[0]->YYData->{LAST_TOKEN};
my $file = $_[0]->YYData->{INPUT_FILENAME};
- print "Syntax error at $file:$line near '$last_token'\n";
+ print "$file:$line: Syntax error near '$last_token'\n";
}
sub _Lexer($)