We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1b102 commit 2de49cdCopy full SHA for 2de49cd
jerry-core/parser/js/parser.cpp
@@ -2038,13 +2038,15 @@ parse_with_statement (void)
2038
static void
2039
skip_case_clause_body (void)
2040
{
2041
- while (!is_keyword (KW_CASE) && !is_keyword (KW_DEFAULT) && !token_is (TOK_CLOSE_BRACE))
+ while (!is_keyword (KW_CASE)
2042
+ && !is_keyword (KW_DEFAULT)
2043
+ && !token_is (TOK_CLOSE_BRACE))
2044
- skip_newlines ();
2045
if (token_is (TOK_OPEN_BRACE))
2046
2047
skip_braces ();
2048
}
2049
+ skip_newlines ();
2050
2051
2052
0 commit comments