CASE_END only if case is not last.
This commit is contained in:
parent
16772f287e
commit
65a3929f48
|
@ -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
|
||||||
|
|
Reference in New Issue
Block a user