From 6e9fbef44a33c8df63ee2aa203c0a00ac6d4ad9f Mon Sep 17 00:00:00 2001 From: SLAwww Date: Sun, 13 Mar 2016 18:56:18 +0200 Subject: [PATCH] Fixed error in Bison code --- Sources/Ecc/Parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Ecc/Parser.y b/Sources/Ecc/Parser.y index aa676f9..ff0ff44 100644 --- a/Sources/Ecc/Parser.y +++ b/Sources/Ecc/Parser.y @@ -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;}