CASE_END only if case is not last.

This commit is contained in:
Stefano Sanfilippo 2014-11-24 10:50:10 +01:00
parent 16772f287e
commit 65a3929f48

View File

@ -110,10 +110,10 @@ branch_body:
cases BRANCH_ELSE COLON statements cases BRANCH_ELSE COLON statements
; ;
cases: cases:
case_stmt | case_stmt cases case_stmt | case_stmt CASE_END cases
; ;
case_stmt: case_stmt:
semi_expression COLON statements CASE_END semi_expression COLON statements
; ;
fun_call: fun_call:
FUNCALL ID args FUNCALL ID args