Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r9bd6105 rb128d3e  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Aug 26 17:50:19 2017
    13 // Update Count     : 2712
     12// Last Modified On : Mon Aug 28 13:24:10 2017
     13// Update Count     : 2720
    1414//
    1515
     
    31363136
    31373137void yyerror( const char * ) {
    3138         cout << "Error ";
    31393138        if ( yyfilename ) {
    3140                 cout << "in file " << yyfilename << " ";
     3139                cout << yyfilename << ":";
    31413140        } // if
    3142         cout << "at line " << yylineno << " reading token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << "\"" << endl;
     3141        cout << yylineno << ":1 syntax error at token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << "\"" << endl;
    31433142}
    31443143
Note: See TracChangeset for help on using the changeset viewer.