mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Fix file:line printing so that Emacs and other tools are not confused.
Patch from Samuel Krempp. [SVN r21887]
This commit is contained in:
@@ -65,7 +65,7 @@ void
|
||||
yyerror( char *s )
|
||||
{
|
||||
if( incp )
|
||||
printf( "%s: line %d: ", incp->fname, incp->line );
|
||||
printf( "%s:%d: ", incp->fname, incp->line );
|
||||
|
||||
printf( "%s at %s\n", s, symdump( &yylval ) );
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ void
|
||||
yyerror( char *s )
|
||||
{
|
||||
if( incp )
|
||||
printf( "%s: line %d: ", incp->fname, incp->line );
|
||||
printf( "%s:%d: ", incp->fname, incp->line );
|
||||
|
||||
printf( "%s at %s\n", s, symdump( &yylval ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user