summaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-02 04:27:50 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-02 04:27:50 +0000
commit00495d7b0f1f1ce9de12d0f191f9478d7fc27dda (patch)
treee357624e20a495424ff5f3930eb92a7b3d338d92 /gcc/c-parse.in
parentb4c228c07365707e9b55e5f955276248d48c8f3b (diff)
downloadgcc-00495d7b0f1f1ce9de12d0f191f9478d7fc27dda.tar.gz
(stmt, FOR case): Do call position_after_white_space
after recording the current lineno for the increment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in3
1 files changed, 2 insertions, 1 deletions
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 ();
$<lineno>7 = lineno;
- $<filename>8 = input_filename; }
+ $<filename>8 = input_filename;
+ position_after_white_space (); }
lineno_labeled_stmt
{ /* Emit the increment expression, with a line number. */
emit_line_note ($<filename>8, $<lineno>7);