diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-01 12:47:54 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-01 12:47:54 +0000 |
commit | 7951771a0b5dbe8b90a9336fe68532e06432090a (patch) | |
tree | fb0aa34a235b0da95674aa0a5181f244b7f205a6 /gcc/cppmacro.c | |
parent | b6026f5a21d25351ae309fabf9c8afc09ac1c09b (diff) | |
download | gcc-7951771a0b5dbe8b90a9336fe68532e06432090a.tar.gz |
* cppmacro.c: Forgotten commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 99cdc19e007..6b1fcec5c76 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 |