Changes in src/SymTab/Validate.cc [145f1fc:85c4ef0]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r145f1fc r85c4ef0 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Jul 14 12:27:54201513 // Update Count : 18 612 // Last Modified On : Mon Jul 13 14:38:19 2015 13 // Update Count : 184 14 14 // 15 15 … … 530 530 init->get_args().push_back( new NameExpr( "0" ) ); 531 531 Statement *initStmt = new ExprStmt( noLabels, init ); 532 std::list<Statement *> initList; 533 initList.push_back( initStmt ); 534 532 535 533 UntypedExpr *cond = new UntypedExpr( new NameExpr( "?<?" ) ); 536 534 cond->get_args().push_back( new VariableExpr( index ) ); … … 557 555 assignExpr->get_args().push_back( srcIndex ); 558 556 559 *out++ = new ForStmt( noLabels, init List, cond, inc, new ExprStmt( noLabels, assignExpr ) );557 *out++ = new ForStmt( noLabels, initStmt, cond, inc, new ExprStmt( noLabels, assignExpr ) ); 560 558 } 561 559
Note:
See TracChangeset
for help on using the changeset viewer.