Changes in src/SymTab/Autogen.h [ba3706f:b95fe40]
- File:
-
- 1 edited
-
src/SymTab/Autogen.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.h
rba3706f rb95fe40 104 104 fExpr->args.splice( fExpr->args.end(), args ); 105 105 106 *out++ = new ExprStmt( fExpr );106 *out++ = new ExprStmt( noLabels, fExpr ); 107 107 108 108 srcParam.clearArrayIndices(); … … 162 162 163 163 // for stmt's body, eventually containing call 164 CompoundStmt * body = new CompoundStmt( );164 CompoundStmt * body = new CompoundStmt( noLabels ); 165 165 Statement * listInit = genCall( srcParam, dstParam, fname, back_inserter( body->kids ), array->base, addCast, forward ); 166 166 167 167 // block containing for stmt and index variable 168 168 std::list<Statement *> initList; 169 CompoundStmt * block = new CompoundStmt( );170 block->push_back( new DeclStmt( index ) );169 CompoundStmt * block = new CompoundStmt( noLabels ); 170 block->push_back( new DeclStmt( noLabels, index ) ); 171 171 if ( listInit ) block->get_kids().push_back( listInit ); 172 block->push_back( new ForStmt( initList, cond, inc, body ) );172 block->push_back( new ForStmt( noLabels, initList, cond, inc, body ) ); 173 173 174 174 *out++ = block;
Note:
See TracChangeset
for help on using the changeset viewer.