Changeset c11e31c for translator/ResolvExpr/Resolver.cc
- Timestamp:
- May 14, 2015, 1:44:55 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:
- 4bf5298
- Parents:
- d4778a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/ResolvExpr/Resolver.cc
rd4778a6 rc11e31c 98 98 return bt->isInteger(); 99 99 } else { 100 return true;100 return false; 101 101 } // if 102 102 } … … 121 121 if ( i->expr->get_results().size() == 1 && isIntegralType( i->expr->get_results().front() ) ) { 122 122 if ( newExpr ) { 123 throw SemanticError( "Too many interpretations for switchcontrol expression", untyped );123 throw SemanticError( "Too many interpretations for case control expression", untyped ); 124 124 } else { 125 125 newExpr = i->expr->clone(); … … 128 128 } // if 129 129 } // for 130 if ( ! newExpr ) {131 throw SemanticError( " Too many interpretations for switchcontrol expression", untyped );130 if ( ! newExpr ) { 131 throw SemanticError( "No interpretations for case control expression", untyped ); 132 132 } // if 133 133 finishExpr( newExpr, *newEnv );
Note: See TracChangeset
for help on using the changeset viewer.