Changeset 294647b for src/Common/SemanticError.h
- Timestamp:
- Feb 14, 2017, 2:54:51 PM (8 years ago)
- 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, resolv-new, with_gc
- Children:
- 138e29e
- Parents:
- eafb094
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/SemanticError.h
reafb094 r294647b 23 23 #include <iostream> 24 24 25 #include "utility.h" 26 25 27 class SemanticError : public std::exception { 26 28 public: … … 35 37 void print( std::ostream &os ); 36 38 39 void set_location( const CodeLocation& location ); 37 40 // constructs an exception using the given message and the printed 38 41 // representation of the obj (T must have a print method) 39 42 private: 40 43 std::list< std::string > errors; 44 CodeLocation location; 41 45 }; 42 46
Note: See TracChangeset
for help on using the changeset viewer.