Commit d54d8150 by Richard Stallman

(stmt, FOR case): Do call position_after_white_space

after recording the current lineno for the increment.

From-SVN: r3051
parent 98ed4b49
...@@ -1605,7 +1605,8 @@ stmt: ...@@ -1605,7 +1605,8 @@ stmt:
clear_momentary during the parsing of the next stmt. */ clear_momentary during the parsing of the next stmt. */
push_momentary (); push_momentary ();
$<lineno>7 = lineno; $<lineno>7 = lineno;
$<filename>8 = input_filename; } $<filename>8 = input_filename;
position_after_white_space (); }
lineno_labeled_stmt lineno_labeled_stmt
{ /* Emit the increment expression, with a line number. */ { /* Emit the increment expression, with a line number. */
emit_line_note ($<filename>8, $<lineno>7); emit_line_note ($<filename>8, $<lineno>7);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment