Changeset 05c941a for src/Parser
- Timestamp:
- Oct 9, 2021, 12:18:32 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- fe8c31e
- Parents:
- 237df76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r237df76 r05c941a 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Oct 2 08:27:21202113 // Update Count : 508 012 // Last Modified On : Fri Oct 8 06:57:16 2021 13 // Update Count : 5086 14 14 // 15 15 … … 1091 1091 comma_expression_opt ';' 1092 1092 { $$ = new StatementNode( build_expr( $1 ) ); } 1093 | MUTEX ' @' comma_expression ';'1094 // { $$ = new StatementNode( build_mutex( nullptr, new StatementNode( build_expr( $3) ) ) ); }1095 { SemanticError( yylloc, "Mutex expression is currently unimplemented." ); $$ = nullptr; }1093 | MUTEX '(' ')' comma_expression ';' 1094 { $$ = new StatementNode( build_mutex( nullptr, new StatementNode( build_expr( $4 ) ) ) ); } 1095 // { SemanticError( yylloc, "Mutex expression is currently unimplemented." ); $$ = nullptr; } 1096 1096 ; 1097 1097
Note: See TracChangeset
for help on using the changeset viewer.