Changeset 145f1fc for src/SymTab/Validate.cc
- Timestamp:
- Jul 15, 2015, 2:59:57 PM (11 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, stuck-waitfor-destruct, with_gc
- Children:
- 1ab4ce2, 2794fff, e45215c
- Parents:
- 85c4ef0
- File:
-
- 1 edited
-
src/SymTab/Validate.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r85c4ef0 r145f1fc 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Mon Jul 13 14:38:19201513 // Update Count : 18 412 // Last Modified On : Tue Jul 14 12:27:54 2015 13 // Update Count : 186 14 14 // 15 15 … … 530 530 init->get_args().push_back( new NameExpr( "0" ) ); 531 531 Statement *initStmt = new ExprStmt( noLabels, init ); 532 532 std::list<Statement *> initList; 533 initList.push_back( initStmt ); 534 533 535 UntypedExpr *cond = new UntypedExpr( new NameExpr( "?<?" ) ); 534 536 cond->get_args().push_back( new VariableExpr( index ) ); … … 555 557 assignExpr->get_args().push_back( srcIndex ); 556 558 557 *out++ = new ForStmt( noLabels, init Stmt, cond, inc, new ExprStmt( noLabels, assignExpr ) );559 *out++ = new ForStmt( noLabels, initList, cond, inc, new ExprStmt( noLabels, assignExpr ) ); 558 560 } 559 561
Note:
See TracChangeset
for help on using the changeset viewer.