summaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
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-parse.in
parent75ff61fd74b379f7278b1042e269ea3a6ee66518 (diff)
get rid of PTR macros
Diffstat (limited to 'gcc/c-parse.in')
-rwxr-xr-xgcc/c-parse.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index cbc5376..c9a9cd9 100755
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -1930,7 +1930,7 @@ stmt:
that we end every loop we start. */
expand_start_loop (1);
emit_line_note (input_filename, lineno);
- expand_exit_loop_if_false (NULL_PTR,
+ expand_exit_loop_if_false (NULL,
truthvalue_conversion ($4));
position_after_white_space (); }
lineno_labeled_stmt
@@ -1938,7 +1938,7 @@ stmt:
| do_stmt_start
'(' expr ')' ';'
{ emit_line_note (input_filename, lineno);
- expand_exit_loop_if_false (NULL_PTR,
+ expand_exit_loop_if_false (NULL,
truthvalue_conversion ($3));
expand_end_loop ();
clear_momentary (); }
@@ -1970,7 +1970,7 @@ stmt:
/* Emit the end-test, with a line number. */
emit_line_note ($<filename>8, $<lineno>7);
if ($6)
- expand_exit_loop_if_false (NULL_PTR,
+ expand_exit_loop_if_false (NULL,
truthvalue_conversion ($6));
/* Don't let the tree nodes for $9 be discarded by
clear_momentary during the parsing of the next stmt. */
@@ -2011,7 +2011,7 @@ stmt:
| CONTINUE ';'
{ stmt_count++;
emit_line_note ($<filename>-1, $<lineno>0);
- if (! expand_continue_loop (NULL_PTR))
+ if (! expand_continue_loop (NULL))
error ("continue statement not within a loop"); }
| RETURN ';'
{ stmt_count++;