Add missing ; to Sources/Ecc/Parser.y

This commit is contained in:
Salamanderrake 2016-04-01 23:38:29 -04:00 committed by Ryan C. Gordon
parent 49b5163cc9
commit 7778fdcaae

View File

@ -1080,7 +1080,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;}