Changeset 6cebfef for src/Parser
- Timestamp:
- Aug 13, 2021, 3:58:19 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- de52331
- Parents:
- c9f9d4f
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
rc9f9d4f r6cebfef 437 437 WaitForStmt * build_waitfor_timeout( ExpressionNode * timeout, StatementNode * stmt, ExpressionNode * when, StatementNode * else_stmt, ExpressionNode * else_when ); 438 438 Statement * build_with( ExpressionNode * exprs, StatementNode * stmt ); 439 Statement * build_mutex( ExpressionNode * exprs, StatementNode * stmt ); 439 440 440 441 //############################################################################## -
src/Parser/parser.yy
rc9f9d4f r6cebfef 1346 1346 mutex_statement: 1347 1347 MUTEX '(' argument_expression_list_opt ')' statement 1348 { SemanticError( yylloc, "Mutex statement is currently unimplemented." ); $$ = nullptr; }1348 { $$ = new StatementNode( build_mutex( $3, $5 ) ); } 1349 1349 ; 1350 1350
Note: See TracChangeset
for help on using the changeset viewer.