summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-17 06:18:37 -0800
committerYamaArashi <shadow962@live.com>2016-02-17 06:18:37 -0800
commit9cc5f8edb21ac07bff87def5155ee71dff449e37 (patch)
treeb75b0eb06bf733811e4f54bd28dd6fa93fa8f485 /gcc/c-lex.c
parent75ff61fd74b379f7278b1042e269ea3a6ee66518 (diff)
get rid of PTR macros
Diffstat (limited to 'gcc/c-lex.c')
-rwxr-xr-xgcc/c-lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index c6e02dd..f1e1473 100755
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1523,7 +1523,7 @@ yylex ()
warning ("floating point number exceeds range of `double'");
}
- set_float_handler (NULL_PTR);
+ set_float_handler (NULL);
}
#ifdef ERANGE
/* ERANGE is also reported for underflow,
@@ -1750,7 +1750,7 @@ yylex ()
int max_chars;
#ifdef MULTIBYTE_CHARS
int longest_char = local_mb_cur_max ();
- (void) local_mbtowc (NULL_PTR, NULL_PTR, 0);
+ (void) local_mbtowc (NULL, NULL, 0);
#endif
max_chars = TYPE_PRECISION (integer_type_node) / width;
@@ -1914,7 +1914,7 @@ yylex ()
: TYPE_PRECISION (char_type_node);
#ifdef MULTIBYTE_CHARS
int longest_char = local_mb_cur_max ();
- (void) local_mbtowc (NULL_PTR, NULL_PTR, 0);
+ (void) local_mbtowc (NULL, NULL, 0);
#endif
c = GETC ();
p = token_buffer + 1;