Changes in src/SymTab/AddVisit.h [ba3706f:30f9072]
- File:
-
- 1 edited
-
src/SymTab/AddVisit.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/AddVisit.h
rba3706f r30f9072 24 24 // add any new declarations after the previous statement 25 25 for ( std::list< Declaration* >::iterator decl = visitor.declsToAddAfter.begin(); decl != visitor.declsToAddAfter.end(); ++decl ) { 26 DeclStmt *declStmt = new DeclStmt( *decl );26 DeclStmt *declStmt = new DeclStmt( noLabels, *decl ); 27 27 stmts.insert( stmt, declStmt ); 28 28 } … … 36 36 // add any new declarations before the statement 37 37 for ( std::list< Declaration* >::iterator decl = visitor.declsToAdd.begin(); decl != visitor.declsToAdd.end(); ++decl ) { 38 DeclStmt *declStmt = new DeclStmt( *decl );38 DeclStmt *declStmt = new DeclStmt( noLabels, *decl ); 39 39 stmts.insert( stmt, declStmt ); 40 40 }
Note:
See TracChangeset
for help on using the changeset viewer.