__HOST -> __TARGET_HOST_X64
This commit is contained in:
@@ -96,7 +96,7 @@ increase_strings_cache (void)
|
||||
strings_cache_size = new_cache_size;
|
||||
}
|
||||
|
||||
#ifdef __HOST
|
||||
#ifdef __TARGET_HOST_x64
|
||||
static void
|
||||
dump_current_line (void)
|
||||
{
|
||||
@@ -897,20 +897,20 @@ lexer_next_token_private (void)
|
||||
token
|
||||
lexer_next_token (void)
|
||||
{
|
||||
#ifdef __HOST
|
||||
#ifdef __TARGET_HOST_x64
|
||||
if (buffer == buffer_start)
|
||||
dump_current_line ();
|
||||
#endif /* __HOST */
|
||||
#endif /* __TARGET_HOST_x64 */
|
||||
|
||||
token tok = lexer_next_token_private ();
|
||||
|
||||
#ifdef __HOST
|
||||
#ifdef __TARGET_HOST_x64
|
||||
if (tok.type == TOK_NEWLINE)
|
||||
{
|
||||
dump_current_line ();
|
||||
return tok;
|
||||
}
|
||||
#endif /* __HOST */
|
||||
#endif /* __TARGET_HOST_x64 */
|
||||
return tok;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ assert_keyword (keyword kw)
|
||||
{
|
||||
if (tok.type != TOK_KEYWORD || tok.data.kw != kw)
|
||||
{
|
||||
#ifdef __HOST
|
||||
#ifdef __TARGET_HOST_x64
|
||||
__printf ("assert_keyword: %d\n", kw);
|
||||
#endif
|
||||
JERRY_UNREACHABLE ();
|
||||
@@ -86,7 +86,7 @@ current_token_must_be(token_type tt)
|
||||
{
|
||||
if (tok.type != tt)
|
||||
{
|
||||
#ifdef __HOST
|
||||
#ifdef __TARGET_HOST_x64
|
||||
__printf ("current_token_must_be: %d\n", tt);
|
||||
#endif
|
||||
parser_fatal (ERR_PARSER);
|
||||
@@ -107,7 +107,7 @@ next_token_must_be (token_type tt)
|
||||
tok = lexer_next_token ();
|
||||
if (tok.type != tt)
|
||||
{
|
||||
#ifdef __HOST
|
||||
#ifdef __TARGET_HOST_x64
|
||||
__printf ("next_token_must_be: %d\n", tt);
|
||||
#endif
|
||||
parser_fatal (ERR_PARSER);
|
||||
|
||||
Reference in New Issue
Block a user