Changeset eb779d5 for src/Parser
- Timestamp:
- Oct 9, 2023, 12:55:09 PM (14 months ago)
- Branches:
- master
- Children:
- 26dfce5
- Parents:
- 0d49efb
- Location:
- src/Parser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/StatementNode.cc
r0d49efb reb779d5 498 498 } // build_mutex 499 499 500 ast::Stmt * build_corun( const CodeLocation & location, StatementNode * stmt ) { 501 ast::Stmt * body = maybeMoveBuild( stmt ); 502 return new ast::CorunStmt( location, body ); 503 } // build_corun 504 500 505 // Local Variables: // 501 506 // tab-width: 4 // -
src/Parser/StatementNode.h
r0d49efb reb779d5 105 105 ast::Stmt * build_with( const CodeLocation &, ExpressionNode * exprs, StatementNode * stmt ); 106 106 ast::Stmt * build_mutex( const CodeLocation &, ExpressionNode * exprs, StatementNode * stmt ); 107 ast::Stmt * build_corun( const CodeLocation &, StatementNode * stmt ); -
src/Parser/parser.yy
r0d49efb reb779d5 1721 1721 corun_statement: 1722 1722 CORUN statement 1723 { SemanticError( yylloc, "corun statement is currently unimplemented." ); $$ = nullptr; }1723 { $$ = new StatementNode( build_corun( yylloc, $2 ) ); } 1724 1724 ; 1725 1725
Note: See TracChangeset
for help on using the changeset viewer.