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