From d54d8150fe14e7e1f35d5d7e3141a1ca3d352b98 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 2 Jan 1993 04:27:50 +0000 Subject: [PATCH] (stmt, FOR case): Do call position_after_white_space after recording the current lineno for the increment. From-SVN: r3051 --- gcc/c-parse.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 4b8ec563f35..d436eed6820 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -1605,7 +1605,8 @@ stmt: clear_momentary during the parsing of the next stmt. */ push_momentary (); $7 = lineno; - $8 = input_filename; } + $8 = input_filename; + position_after_white_space (); } lineno_labeled_stmt { /* Emit the increment expression, with a line number. */ emit_line_note ($8, $7);