Changeset ad28abb


Ignore:
Timestamp:
Aug 30, 2017, 5:58:45 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:
515989c
Parents:
e5fccf4
Message:

add space to error message for consistency with other messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/lex.ll

    re5fccf4 rad28abb  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Wed Aug 30 07:53:24 2017
    13  * Update Count     : 583
     12 * Last Modified On : Wed Aug 30 17:35:21 2017
     13 * Update Count     : 584
    1414 */
    1515
     
    434434void yyerror( const char * errmsg ) {
    435435        cout << (yyfilename ? yyfilename : "*unknown file*") << ':' << yylineno << ':' << column - yyleng + 1
    436                  << ':' << SemanticError::error_str() << errmsg << " at token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << '"' << endl;
     436                 << ": " << SemanticError::error_str() << errmsg << " at token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << '"' << endl;
    437437}
    438438
Note: See TracChangeset for help on using the changeset viewer.