Fix 'function' declaration parsing
This commit is contained in:
1 parent
99d21743b0
commit
bd7fd40a32
2 files changed
+30
No files matched your search
@@ -3297,6 +3297,11 @@ parse_statement (void)
|
||||
parse_variable_declaration_list (NULL);
|
||||
goto cleanup;
|
||||
}
|
||||
if (is_keyword (KW_FUNCTION))
|
||||
{
|
||||
parse_function_declaration ();
|
||||
goto cleanup;
|
||||
}
|
||||
if (token_is (TOK_SEMICOLON))
|
||||
{
|
||||
goto cleanup;
|
||||
|
||||
Reference in new issue
Block a user