Changeset b128d3e for src/Parser
- Timestamp:
- Aug 28, 2017, 1:55:16 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 193bba0
- Parents:
- 7ee1e2f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r7ee1e2f6 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.