mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
Fixed error in Bison code
This commit is contained in:
parent
b2745c617f
commit
6e9fbef44a
|
@ -1073,7 +1073,7 @@ statements
|
||||||
;
|
;
|
||||||
statement
|
statement
|
||||||
: expression ';' {$$=$1+$2;}
|
: 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+" ";}
|
| k_case case_constant_expression ':' {$$=$1+" "+$2+$3+" ";}
|
||||||
| '{' statements '}' {$$=$1+$2+$3;}
|
| '{' statements '}' {$$=$1+$2+$3;}
|
||||||
| expression '{' statements '}' {$$=$1+$2+$3+$4;}
|
| expression '{' statements '}' {$$=$1+$2+$3+$4;}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user