- Timestamp:
- Jul 5, 2021, 2:11:58 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b7763da
- Parents:
- f7f07f6 (diff), 943bfad (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. - File:
-
- 1 edited
-
src/AST/Node.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Node.cpp
rf7f07f6 rd5f6a14 47 47 const ast::ParseNode * parse = dynamic_cast<const ast::ParseNode *>( node ); 48 48 if ( nullptr == parse ) { 49 assertf( nullptr, "%s (no location)", toString(node).c_str());49 assertf(false, "%s (no location)", toString(node).c_str()); 50 50 } else if ( parse->location.isUnset() ) { 51 assertf( nullptr, "%s (unset location)", toString(node).c_str());51 assertf(false, "%s (unset location)", toString(node).c_str()); 52 52 } else { 53 assertf( nullptr, "%s (at %s:%d)", toString(node).c_str(),53 assertf(false, "%s (at %s:%d)", toString(node).c_str(), 54 54 parse->location.filename.c_str(), parse->location.first_line); 55 55 }
Note:
See TracChangeset
for help on using the changeset viewer.