diff --git a/jerry-core/BUILD.gn b/jerry-core/BUILD.gn index aff10c4040655ebf8274d69fadf50627214a09c4..1cec29ebde341a739380db4ad3ded77f88c16739 100644 --- a/jerry-core/BUILD.gn +++ b/jerry-core/BUILD.gn @@ -232,7 +232,7 @@ if (board_toolchain_type != "iccarm") { config("jerry_core_config") { cflags = [ "--diag_suppress", - "Pa089,Pe111,Pe188,Pe191,Pe546,Pe940", + "Pa089,Pe111,Pe188,Pe191,Pe546,Pe940,Pe128", ] defines = [ "JERRY_FOR_IAR_CONFIG", @@ -264,7 +264,7 @@ if (board_toolchain_type != "iccarm") { include_dirs += [ "$port_path", "$port_path/default/include", - "//utils/native/lite/memory/include", + "//commonlibrary/utils_lite/memory/include", ] } } diff --git a/jerry-core/parser/js/js-parser-statm.c b/jerry-core/parser/js/js-parser-statm.c index 9a4264c23c1a10f9ca26c02e1ae2e606c5416471..4e781d11b103c1c4966d1c9b523cc131d3682018 100644 --- a/jerry-core/parser/js/js-parser-statm.c +++ b/jerry-core/parser/js/js-parser-statm.c @@ -1454,7 +1454,10 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */ parser_parse_expression_statement (context_p, PARSE_EXPR); break; } - + /* FALLTHRU */ + } + case LEXER_KEYW_LET: + { if (context_p->next_scanner_info_p->source_p == context_p->source_p && context_p->next_scanner_info_p->type != SCANNER_TYPE_BLOCK) { @@ -1468,9 +1471,9 @@ parser_parse_for_statement_start (parser_context_t *context_p) /**< context */ } context_p->token.type = LEXER_KEYW_LET; + /* FALLTHRU */ } - case LEXER_KEYW_LET: case LEXER_KEYW_CONST: { if (context_p->next_scanner_info_p->source_p == source_p) diff --git a/jerry-ext/BUILD.gn b/jerry-ext/BUILD.gn index 33b2ee84dabdb3251fa27c82d0758aa210453bdb..0ee09d9082f7502d83483dbe4ddac3bb65498c2c 100644 --- a/jerry-ext/BUILD.gn +++ b/jerry-ext/BUILD.gn @@ -86,7 +86,7 @@ if (board_toolchain_type == "iccarm") { include_dirs += [ "${core_path}", "${core_path}/jrt", - "//utils/native/lite/memory/include", + "//commonlibrary/utils_lite/memory/include", ] } } diff --git a/jerry-port/default/BUILD.gn b/jerry-port/default/BUILD.gn index 15e9430d21b048f4a6c39a3b5b13b2acc9996fb8..dd7c5c9b7066e845dd10cd6d052a8854f1fa76b1 100644 --- a/jerry-port/default/BUILD.gn +++ b/jerry-port/default/BUILD.gn @@ -87,7 +87,7 @@ if (board_toolchain_type == "iccarm") { "${core_path}/parser/regexp", "${core_path}/vm", "${port_path}", - "//utils/native/lite/memory/include", + "//commonlibrary/utils_lite/memory/include", ] } }