summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/idl.pm2
-rw-r--r--source4/build/pidl/idl.yp2
2 files changed, 2 insertions, 2 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($)
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp
index 93446dc8c1..cb293de272 100644
--- a/source4/build/pidl/idl.yp
+++ b/source4/build/pidl/idl.yp
@@ -247,7 +247,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($)