Changeset 8d96dee for src/Parser/StatementNode.cc
- Timestamp:
- Aug 14, 2023, 1:27:56 PM (2 years ago)
- Branches:
- master
- Children:
- 3543e99
- Parents:
- 89bef959 (diff), d32679d5 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/StatementNode.cc
r89bef959 r8d96dee 10 10 // Author : Rodolfo G. Esteves 11 11 // Created On : Sat May 16 14:59:41 2015 12 // Last Modified By : Andrew Beach13 // Last Modified On : Tue Apr 11 10:16:00202314 // Update Count : 42 812 // Last Modified By : Peter A. Buhr 13 // Last Modified On : Fri Aug 11 11:44:15 2023 14 // Update Count : 429 15 15 // 16 16 … … 374 374 } 375 375 376 ast::WaitUntilStmt::ClauseNode * build_waituntil_timeout( const CodeLocation & loc, ExpressionNode * when, ExpressionNode * timeout, StatementNode * stmt ) {377 ast::WhenClause * clause = new ast::WhenClause( loc );378 clause->when_cond = notZeroExpr( maybeMoveBuild( when ) );379 clause->stmt = maybeMoveBuild( stmt );380 clause->target = maybeMoveBuild( timeout );381 return new ast::WaitUntilStmt::ClauseNode( ast::WaitUntilStmt::ClauseNode::Op::TIMEOUT, clause );382 }383 384 376 ast::WaitUntilStmt * build_waituntil_stmt( const CodeLocation & loc, ast::WaitUntilStmt::ClauseNode * root ) { 385 377 ast::WaitUntilStmt * retStmt = new ast::WaitUntilStmt( loc );
Note:
See TracChangeset
for help on using the changeset viewer.