cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping ...
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 18 Jan 2001 06:32:47 +0000 (06:32 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 18 Jan 2001 06:32:47 +0000 (06:32 +0000)
        * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
        not pfile->skipping (== 0).

From-SVN: r39108

gcc/ChangeLog
gcc/cpplib.c

index 99947670340ac43e9854d3088424e1247dfec6ca..2ab3f99322eb27d8b65fa3323b0e276aa46facfd 100644 (file)
@@ -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}_
index 78045e31fc33de398e141857c90024c93ed8a7d1..9577d7235ac5a247a16197f3f6af38312d782248 100644 (file)
@@ -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