cpplex.c (is_macro_disabled): Caller has already checked that we're not a preprocesse...
authorNeil Booth <neilb@earthling.net>
Fri, 25 Aug 2000 07:04:59 +0000 (07:04 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 25 Aug 2000 07:04:59 +0000 (07:04 +0000)
* cpplex.c (is_macro_disabled): Caller has already checked
that we're not a preprocessed file.

From-SVN: r35970

gcc/ChangeLog
gcc/cpplex.c

index 305e174478ea92595bce7613218b9772f33c4116..93753103c7f0dc9859dcb018f1800a4d57579546 100644 (file)
@@ -1,3 +1,8 @@
+Fri 25-Aug-2000 08:03:27 BST  Neil Booth  <NeilB@earthling.net>
+
+       * cpplex.c (is_macro_disabled): Caller has already checked
+       that we're not a preprocessed file.
+
 2000-08-24  Mark Mitchell  <mark@codesourcery.com>
 
        * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
index 779bcf0d60baff0cddd17f5f2560907c76d7b755..c585526678564f490798f07af75d7215158a0143 100644 (file)
@@ -2224,10 +2224,6 @@ is_macro_disabled (pfile, expansion, token)
 {
   cpp_context *context = CURRENT_CONTEXT (pfile);
 
-  /* Don't expand anything if this file has already been preprocessed.  */
-  if (CPP_OPTION (pfile, preprocessed))
-    return 1;
-
   /* Arguments on either side of ## are inserted in place without
      macro expansion (6.10.3.3.2).  Conceptually, any macro expansion
      occurs during a later rescan pass.  The effect is that we expand