mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Fix bug with @jump miscompile
- Remove "panic" text from unreachable() when safe mode is turned off.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user