Changeset 93401f8


Ignore:
Timestamp:
Feb 17, 2018, 12:09:02 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:
14cbfad
Parents:
5964127
Message:

add space in error message

Location:
src/ResolvExpr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r5964127 r93401f8  
    1010// Created On       : Sat May 16 23:52:08 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Aug 28 13:47:24 2017
    13 // Update Count     : 32
     12// Last Modified On : Sat Feb 17 11:19:39 2018
     13// Update Count     : 33
    1414//
    1515
     
    255255                                stream << "Cannot choose between " << winners.size() << " alternatives for expression\n";
    256256                                expr->print( stream );
    257                                 stream << "Alternatives are:\n";
     257                                stream << " Alternatives are:\n";
    258258                                printAlts( winners, stream, 1 );
    259259                                throw SemanticError( expr->location, stream.str() );
  • src/ResolvExpr/Resolver.cc

    r5964127 r93401f8  
    99// Author           : Richard C. Bilson
    1010// Created On       : Sun May 17 12:17:01 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Tus Aug  8 16:06:00 2017
    13 // Update Count     : 212
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Sat Feb 17 11:19:40 2018
     13// Update Count     : 213
    1414//
    1515
     
    179179                                stream << "Cannot choose between " << winners.size() << " alternatives for " << kindStr << (kindStr != "" ? " " : "") << "expression\n";
    180180                                untyped->print( stream );
    181                                 stream << "Alternatives are:\n";
     181                                stream << " Alternatives are:\n";
    182182                                printAlts( winners, stream, 1 );
    183183                                throw SemanticError( untyped->location, stream.str() );
Note: See TracChangeset for help on using the changeset viewer.