diff --git a/Sources/Ecc/Parser.y b/Sources/Ecc/Parser.y index 1168f7b..ac4bbea 100644 --- a/Sources/Ecc/Parser.y +++ b/Sources/Ecc/Parser.y @@ -1080,7 +1080,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;}