From 590e1987d2ed82ea4c6b900d243df3852e272cde Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Mon, 1 Jul 2002 12:47:54 +0000 Subject: * cppmacro.c: Forgotten commit. From-SVN: r55134 --- gcc/cppmacro.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gcc/cppmacro.c') diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 99cdc19..6b1fcec 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -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 -- cgit v1.1