Ignore:
Timestamp:
May 18, 2018, 3:36:36 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
cac8a6e
Parents:
cb6314e (diff), c7d8100c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.cc

    rcb6314e r4a333d35  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed May  2 18:13:37 2018
    13 // Update Count     : 8
     12// Last Modified On : Wed May 16 15:01:20 2018
     13// Update Count     : 9
    1414//
    1515
     
    7070//-----------------------------------------------------------------------------
    7171// Semantic Error
     72bool SemanticErrorThrow = false;
     73
    7274SemanticErrorException::SemanticErrorException( CodeLocation location, std::string error ) {
    7375        append( location, error );
     
    9496
    9597void SemanticError( CodeLocation location, std::string error ) {
     98        SemanticErrorThrow = true;
    9699        throw SemanticErrorException(location, error);
    97100}
Note: See TracChangeset for help on using the changeset viewer.