Changeset 5f2f2d7 for src/Parser/parser.cc
- Timestamp:
- Jun 8, 2015, 8:56:35 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 81419b5
- Parents:
- cd623a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.cc
rcd623a4 r5f2f2d7 9266 9266 // ----end of grammar---- 9267 9267 9268 void yyerror( char *string ) { 9269 using std::cout; 9270 using std::endl; 9271 cout << "Error "; 9268 void yyerror( const char * ) { 9269 std::cout << "Error "; 9272 9270 if ( yyfilename ) { 9273 9274 } 9275 cout << "at line " << yylineno << " reading token \"" << *(yylval.tok.str) << "\"" <<endl;9271 std::cout << "in file " << yyfilename << " "; 9272 } // if 9273 std::cout << "at line " << yylineno << " reading token \"" << *(yylval.tok.str) << "\"" << std::endl; 9276 9274 } 9277 9275 9278 9276 // Local Variables: // 9279 // fill-column: 110 //9280 9277 // tab-width: 4 // 9281 9278 // mode: c++ //
Note: See TracChangeset
for help on using the changeset viewer.