Changes in src/SynTree/Statement.cc [f1b1e4c:0f8e4ac]
- File:
-
- 1 edited
-
src/SynTree/Statement.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.cc
rf1b1e4c r0f8e4ac 87 87 Statement( labels ), originalTarget( _target ), target( _target ), computedTarget( NULL ), type( _type ) { 88 88 //actually this is a syntactic error signaled by the parser 89 if ( type == BranchStmt::Goto && target. size() == 0)89 if ( type == BranchStmt::Goto && target.empty() ) 90 90 throw SemanticError("goto without target"); 91 91 }
Note:
See TracChangeset
for help on using the changeset viewer.