Changes in src/Parser/parser.yy [9bd6105:b128d3e]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r9bd6105 rb128d3e 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Aug 26 17:50:19201713 // Update Count : 27 1212 // Last Modified On : Mon Aug 28 13:24:10 2017 13 // Update Count : 2720 14 14 // 15 15 … … 3136 3136 3137 3137 void yyerror( const char * ) { 3138 cout << "Error ";3139 3138 if ( yyfilename ) { 3140 cout << "in file " << yyfilename << "";3139 cout << yyfilename << ":"; 3141 3140 } // if 3142 cout << "at line " << yylineno << " readingtoken \"" << (yytext[0] == '\0' ? "EOF" : yytext) << "\"" << endl;3141 cout << yylineno << ":1 syntax error at token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << "\"" << endl; 3143 3142 } 3144 3143
Note:
See TracChangeset
for help on using the changeset viewer.