Fixes ENABLE_AMALGAM need FORCE set to ON when building with MSVC (#4392)

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2021-01-16 15:44:55 +00:00
committed by GitHub
parent fd0ca7da69
commit fe3b0a8435
31 changed files with 171 additions and 173 deletions
+7 -7
View File
@@ -1976,7 +1976,7 @@ lexer_check_next_characters (parser_context_t *context_p, /**< context */
*
* @return consumed character
*/
inline uint8_t JERRY_ATTR_ALWAYS_INLINE
extern inline uint8_t JERRY_ATTR_ALWAYS_INLINE
lexer_consume_next_character (parser_context_t *context_p) /**< context */
{
JERRY_ASSERT (context_p->source_p < context_p->source_end_p);
@@ -3662,7 +3662,7 @@ lexer_current_is_literal (parser_context_t *context_p, /**< context */
*
* @return true if "use strict" is found, false otherwise
*/
inline bool JERRY_ATTR_ALWAYS_INLINE
extern inline bool JERRY_ATTR_ALWAYS_INLINE
lexer_string_is_use_strict (parser_context_t *context_p) /**< context */
{
JERRY_ASSERT (context_p->token.type == LEXER_LITERAL
@@ -3678,7 +3678,7 @@ lexer_string_is_use_strict (parser_context_t *context_p) /**< context */
*
* @return true if the string is a directive, false otherwise
*/
inline bool JERRY_ATTR_ALWAYS_INLINE
extern inline bool JERRY_ATTR_ALWAYS_INLINE
lexer_string_is_directive (parser_context_t *context_p) /**< context */
{
return (context_p->token.type == LEXER_SEMICOLON
@@ -3701,7 +3701,7 @@ lexer_string_is_directive (parser_context_t *context_p) /**< context */
*
* @return true if they are the same, false otherwise
*/
inline bool JERRY_ATTR_ALWAYS_INLINE
extern inline bool JERRY_ATTR_ALWAYS_INLINE
lexer_token_is_identifier (parser_context_t *context_p, /**< context */
const char *identifier_p, /**< identifier */
size_t identifier_length) /**< identifier length */
@@ -3721,7 +3721,7 @@ lexer_token_is_identifier (parser_context_t *context_p, /**< context */
*
* @return true if "let" is found, false otherwise
*/
inline bool JERRY_ATTR_ALWAYS_INLINE
extern inline bool JERRY_ATTR_ALWAYS_INLINE
lexer_token_is_let (parser_context_t *context_p) /**< context */
{
JERRY_ASSERT (context_p->token.type == LEXER_LITERAL);
@@ -3738,7 +3738,7 @@ lexer_token_is_let (parser_context_t *context_p) /**< context */
*
* @return true if "async" is found, false otherwise
*/
inline bool JERRY_ATTR_ALWAYS_INLINE
extern inline bool JERRY_ATTR_ALWAYS_INLINE
lexer_token_is_async (parser_context_t *context_p) /**< context */
{
JERRY_ASSERT (context_p->token.type == LEXER_LITERAL
@@ -3758,7 +3758,7 @@ lexer_token_is_async (parser_context_t *context_p) /**< context */
*
* @return true if they are the same, false otherwise
*/
inline bool JERRY_ATTR_ALWAYS_INLINE
extern inline bool JERRY_ATTR_ALWAYS_INLINE
lexer_compare_literal_to_string (parser_context_t *context_p, /**< context */
const char *string_p, /**< string */
size_t string_length) /**< string length */