From 3aa05aad7470158da19fe86b13c163d7a325152c Mon Sep 17 00:00:00 2001 From: karahalios Date: Fri, 16 Nov 2001 00:31:27 +0000 Subject: [PATCH] Modified error message format to conform closer to GNU C. This helps GUI developement evnvironments (in particular Mac OS X Project Builder) display & track error messages better. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1600 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCC.lex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDCC.lex b/src/SDCC.lex index 02876dd0..44756051 100644 --- a/src/SDCC.lex +++ b/src/SDCC.lex @@ -568,7 +568,7 @@ int yyerror(char *s) fflush(stdout); if (yylineno && filename) - fprintf(stdout,"\n%s(%d) %s: token -> '%s' ; column %d\n", + fprintf(stdout,"\n%s:%d: %s: token -> '%s' ; column %d\n", filename,yylineno, s,yytext,column); fatalError++; -- 2.30.2