Changes in src/Parser/parser.yy [62c6cfa:11ab0b4a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r62c6cfa r11ab0b4a 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Sep 4 18:28:12 202313 // Update Count : 639 312 // Last Modified On : Tue Oct 3 17:14:12 2023 13 // Update Count : 6396 14 14 // 15 15 … … 350 350 %token IF ELSE SWITCH CASE DEFAULT DO WHILE FOR BREAK CONTINUE GOTO RETURN 351 351 %token CHOOSE FALLTHRU FALLTHROUGH WITH WHEN WAITFOR WAITUNTIL // CFA 352 %token CORUN COFOR 352 353 %token DISABLE ENABLE TRY THROW THROWRESUME AT // CFA 353 354 %token ASM // C99, extension ISO/IEC 9899:1999 Section J.5.10(1) … … 422 423 %type<stmt> with_statement 423 424 %type<expr> with_clause_opt 425 %type<stmt> corun_statement cofor_statement 424 426 %type<stmt> exception_statement 425 427 %type<clause> handler_clause finally_clause … … 1140 1142 | waitfor_statement 1141 1143 | waituntil_statement 1144 | corun_statement 1145 | cofor_statement 1142 1146 | exception_statement 1143 1147 | enable_disable_statement … … 1713 1717 wor_waituntil_clause %prec THEN 1714 1718 { $$ = new StatementNode( build_waituntil_stmt( yylloc, $1 ) ); } 1719 ; 1720 1721 corun_statement: 1722 CORUN statement 1723 { SemanticError( yylloc, "corun statement is currently unimplemented." ); $$ = nullptr; } 1724 ; 1725 1726 cofor_statement: 1727 COFOR '(' for_control_expression_list ')' statement 1728 { SemanticError( yylloc, "cofor statement is currently unimplemented." ); $$ = nullptr; } 1715 1729 ; 1716 1730
Note: See TracChangeset
for help on using the changeset viewer.