mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-25 07:14:50 +01:00
Fixed error in Bison code
This commit is contained in:
parent
b2745c617f
commit
6e9fbef44a
|
@ -1073,7 +1073,7 @@ statements
|
|||
;
|
||||
statement
|
||||
: expression ';' {$$=$1+$2;}
|
||||
| k_switch '(' expression ')' '{' statements '}' {$$=$1+$2+$3+$4+$5+$6+$7}
|
||||
| k_switch '(' expression ')' '{' statements '}' {$$=$1+$2+$3+$4+$5+$6+$7;}
|
||||
| k_case case_constant_expression ':' {$$=$1+" "+$2+$3+" ";}
|
||||
| '{' statements '}' {$$=$1+$2+$3;}
|
||||
| expression '{' statements '}' {$$=$1+$2+$3+$4;}
|
||||
|
|
Loading…
Reference in New Issue
Block a user