diff --git a/tools/qfcc/source/qc-lex.l b/tools/qfcc/source/qc-lex.l index fa24c42b0..31deb5d9f 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -6,7 +6,7 @@ #define YY_NO_UNPUT -void error (char*s){fprintf(stderr,"%d: %s\n",pr_source_line,s);} +void error (char*s){fprintf(stderr,"%s:%d: %s\n",strings+s_file,pr_source_line,s);} int type_or_name (char *token);