diff options
| author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-18 06:32:47 +0000 |
|---|---|---|
| committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-18 06:32:47 +0000 |
| commit | 8c419b4082eab30c67dd7ca04cf25982e2a2deae (patch) | |
| tree | 890d3155ec3e6d0527b078757a81afe4ac97bb2c | |
| parent | 5b00d53836fdc9bf17b78d15e83deea192ba4a22 (diff) | |
| download | ppe42-gcc-8c419b4082eab30c67dd7ca04cf25982e2a2deae.tar.gz ppe42-gcc-8c419b4082eab30c67dd7ca04cf25982e2a2deae.zip | |
* cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
not pfile->skipping (== 0).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39108 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cpplib.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99947670340..2ab3f99322e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk> + + * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, + not pfile->skipping (== 0). + 2001-01-17 Nick Clifton <nickc@redhat.com> * config/rs6000/rs6000.c: Add prototypes for {init|free}_ diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 78045e31fc3..9577d7235ac 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -349,7 +349,7 @@ _cpp_handle_directive (pfile, indented) } } } - else if (dname.type != CPP_EOF && ! pfile->skipping) + else if (dname.type != CPP_EOF && ! buffer->was_skipping) { /* An unknown directive. Don't complain about it in assembly source: we don't know where the comments are, and # may |

