Changeset 5f2f2d7 for src/Parser/parser.yy
- 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.yy
rcd623a4 r5f2f2d7 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 6 20:18:36201513 // Update Count : 10 2612 // Last Modified On : Mon Jun 8 20:31:07 2015 13 // Update Count : 1030 14 14 // 15 15 … … 2717 2717 // ----end of grammar---- 2718 2718 2719 void yyerror( char *string ) { 2720 using std::cout; 2721 using std::endl; 2722 cout << "Error "; 2719 void yyerror( const char * ) { 2720 std::cout << "Error "; 2723 2721 if ( yyfilename ) { 2724 2725 } 2726 cout << "at line " << yylineno << " reading token \"" << *(yylval.tok.str) << "\"" <<endl;2722 std::cout << "in file " << yyfilename << " "; 2723 } // if 2724 std::cout << "at line " << yylineno << " reading token \"" << *(yylval.tok.str) << "\"" << std::endl; 2727 2725 } 2728 2726 2729 2727 // Local Variables: // 2730 // fill-column: 110 //2731 2728 // tab-width: 4 // 2732 2729 // mode: c++ //
Note: See TracChangeset
for help on using the changeset viewer.