Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Autogen.h

    rba3706f rb95fe40  
    104104                fExpr->args.splice( fExpr->args.end(), args );
    105105
    106                 *out++ = new ExprStmt( fExpr );
     106                *out++ = new ExprStmt( noLabels, fExpr );
    107107
    108108                srcParam.clearArrayIndices();
     
    162162
    163163                // for stmt's body, eventually containing call
    164                 CompoundStmt * body = new CompoundStmt();
     164                CompoundStmt * body = new CompoundStmt( noLabels );
    165165                Statement * listInit = genCall( srcParam, dstParam, fname, back_inserter( body->kids ), array->base, addCast, forward );
    166166
    167167                // block containing for stmt and index variable
    168168                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 ) );
    171171                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 ) );
    173173
    174174                *out++ = block;
Note: See TracChangeset for help on using the changeset viewer.