Changeset f259682 for src/Parser/StatementNode.cc
- Timestamp:
- Aug 12, 2023, 2:50:54 PM (10 months ago)
- Branches:
- master
- Children:
- 43109ce
- Parents:
- f045f34
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/StatementNode.cc
rf045f34 rf259682 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.