Changeset 2ad4b49 for src/SynTree
- Timestamp:
- Jun 4, 2018, 4:29:23 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 41770ed1, d885a58, f77dbc0
- Parents:
- 1ddbf3b (diff), ee3c93d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.cc
r1ddbf3b r2ad4b49 243 243 } 244 244 245 WhileStmt::WhileStmt( Expression *condition, Statement *body, bool isDoWhile ):246 Statement(), condition( condition), body( body), i sDoWhile( isDoWhile) {245 WhileStmt::WhileStmt( Expression *condition, Statement *body, std::list< Statement * > & initialization, bool isDoWhile ): 246 Statement(), condition( condition), body( body), initialization( initialization ), isDoWhile( isDoWhile) { 247 247 } 248 248 -
src/SynTree/Statement.h
r1ddbf3b r2ad4b49 220 220 Expression *condition; 221 221 Statement *body; 222 std::list<Statement *> initialization; 222 223 bool isDoWhile; 223 224 224 225 WhileStmt( Expression *condition, 225 Statement *body, bool isDoWhile = false );226 Statement *body, std::list<Statement *> & initialization, bool isDoWhile = false ); 226 227 WhileStmt( const WhileStmt &other ); 227 228 virtual ~WhileStmt();
Note: See TracChangeset
for help on using the changeset viewer.