Ignore:
Timestamp:
Aug 28, 2017, 1:55:16 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
193bba0
Parents:
7ee1e2f6
Message:

remove contraction from error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r7ee1e2f6 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.