Changeset c7d8100c for src


Ignore:
Timestamp:
May 17, 2018, 4:37:58 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:
4a333d35, d142ec5, ff29f08
Parents:
ca54499 (diff), 4358c1e (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

Location:
src/Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.cc

    rca54499 rc7d8100c  
    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}
  • src/Common/SemanticError.h

    rca54499 rc7d8100c  
    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:15 2018
    13 // Update Count     : 29
     12// Last Modified On : Wed May 16 15:01:23 2018
     13// Update Count     : 30
    1414//
    1515
     
    2121//-----------------------------------------------------------------------------
    2222// Errors
     23
     24extern bool SemanticErrorThrow;
    2325
    2426__attribute__((noreturn)) void SemanticError( CodeLocation location, std::string error );
Note: See TracChangeset for help on using the changeset viewer.