Fix parse of nested switch statements.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
This commit is contained in:
Ruben Ayrapetyan authored and Evgeny Gavrin committed 2015-06-29 17:42:37 +03:00
1 parent 6e2733dbfd
commit 3d31bfec92
2 files changed
+23 -1

No files matched your search

+1 -1
View File
@@ -2340,9 +2340,9 @@ rewrite_default_clause (void)
void
finish_dumping_case_clauses (void)
{
STACK_DROP (U8, 1);
STACK_DROP (case_clauses, STACK_SIZE (case_clauses) - STACK_TOP (U8));
STACK_DROP (U8, 1);
STACK_DROP (U8, 1);
}
/**