Ignore:
Timestamp:
Aug 12, 2023, 2:50:54 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
43109ce
Parents:
f045f34
Message:

remove timeout clause from waituntil statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/StatementNode.cc

    rf045f34 rf259682  
    1010// Author           : Rodolfo G. Esteves
    1111// Created On       : Sat May 16 14:59:41 2015
    12 // Last Modified By : Andrew Beach
    13 // Last Modified On : Tue Apr 11 10:16:00 2023
    14 // Update Count     : 428
     12// Last Modified By : Peter A. Buhr
     13// Last Modified On : Fri Aug 11 11:44:15 2023
     14// Update Count     : 429
    1515//
    1616
     
    374374}
    375375
    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 
    384376ast::WaitUntilStmt * build_waituntil_stmt( const CodeLocation & loc, ast::WaitUntilStmt::ClauseNode * root ) {
    385377        ast::WaitUntilStmt * retStmt = new ast::WaitUntilStmt( loc );
Note: See TracChangeset for help on using the changeset viewer.