- Fix bug with @jump miscompile

- Remove "panic" text from unreachable() when safe mode is turned off.
This commit is contained in:
Christoffer Lerno
2024-06-22 23:20:23 +02:00
parent e02f73417c
commit f2e5c5e9b9
7 changed files with 83 additions and 11 deletions

View File

@@ -886,8 +886,8 @@ opt_stmt_list
switch_stmt
: SWITCH optional_label '{' switch_body '}'
| SWITCH optional_label '{' '}'
| SWITCH optional_label paren_cond '{' switch_body '}'
| SWITCH optional_label paren_cond '{' '}'
| SWITCH optional_label paren_cond opt_attributes '{' switch_body '}'
| SWITCH optional_label paren_cond opt_attributes '{' '}'
;
expression_list