Call filter arguments after the global arguments are parsed. (#3511)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2020-01-14 15:10:19 +01:00
committed by Dániel Bátyai
parent 0fd1ed6f27
commit d6070a9fed
3 changed files with 10 additions and 1 deletions
+1
View File
@@ -2759,6 +2759,7 @@ scanner_scan_all (parser_context_t *context_p, /**< context */
context_p->line = 1;
context_p->column = 1;
scanner_filter_arguments (context_p, &scanner_context);
lexer_next_token (context_p);
scanner_check_directives (context_p, &scanner_context);
continue;