From: Neil Booth Date: Thu, 18 Jan 2001 06:32:47 +0000 (+0000) Subject: cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fe349a91dcba707414b5978f6090dc64281a2c8;p=gcc.git cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping (== 0). * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping (== 0). From-SVN: r39108 --- 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 + + * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, + not pfile->skipping (== 0). + 2001-01-17 Nick Clifton * 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