From 9cc5f8edb21ac07bff87def5155ee71dff449e37 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Wed, 17 Feb 2016 06:18:37 -0800 Subject: get rid of PTR macros --- gcc/c-parse.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/c-parse.in') 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 ($8, $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 ($-1, $0); - if (! expand_continue_loop (NULL_PTR)) + if (! expand_continue_loop (NULL)) error ("continue statement not within a loop"); } | RETURN ';' { stmt_count++; -- cgit v1.2.3