summaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-18 06:32:47 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-18 06:32:47 +0000
commit8c419b4082eab30c67dd7ca04cf25982e2a2deae (patch)
tree890d3155ec3e6d0527b078757a81afe4ac97bb2c /gcc/cpplib.c
parent5b00d53836fdc9bf17b78d15e83deea192ba4a22 (diff)
downloadgcc-8c419b4082eab30c67dd7ca04cf25982e2a2deae.tar.gz
* 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
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c2
1 files changed, 1 insertions, 1 deletions
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