mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix preparsing of variable declaration lists, which are not divided by a semicolon.
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
parent
051c7b6786
commit
06d0c1806d
@ -3018,6 +3018,10 @@ preparse_scope (bool is_global)
|
||||
}
|
||||
else if (token_is (TOK_KEYWORD))
|
||||
{
|
||||
if (is_keyword (KW_VAR))
|
||||
{
|
||||
is_in_var_declaration_list = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
else if (token_is (TOK_CLOSE_BRACE))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user