Commit 590e1987 by Neil Booth Committed by Neil Booth

* cppmacro.c: Forgotten commit.

From-SVN: r55134
parent 8bf3ccbb
......@@ -97,7 +97,7 @@ Fri Jun 28 17:22:37 2002 Denis Chertykov <denisc@overta.ru>
PR preprocessor/7150
* cppmain.c (scan_translation_unit_trad): Simplify.
* cpplib.c (cpp_scan_nooutput): Handle traditional case.
* cppmacro.c (cpp_scan_nooutput): Handle traditional case.
2002-06-29 Neil Booth <neil@daikokuya.demon.co.uk>
......
......@@ -1136,8 +1136,12 @@ cpp_scan_nooutput (pfile)
transparently continuing with the including file. */
pfile->buffer->return_at_eof = true;
while (cpp_get_token (pfile)->type != CPP_EOF)
;
if (CPP_OPTION (pfile, traditional))
while (_cpp_read_logical_line_trad (pfile))
;
else
while (cpp_get_token (pfile)->type != CPP_EOF)
;
}
/* Step back one (or more) tokens. Can only step mack more than 1 if
......
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