cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a carriage return after...
authorMark Mitchell <mark@codesourcery.com>
Mon, 7 Feb 2000 21:36:19 +0000 (21:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 7 Feb 2000 21:36:19 +0000 (21:36 +0000)
* cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
carriage return after a macro name.

From-SVN: r31840

gcc/ChangeLog
gcc/cpplib.c

index 2d6e6748d160eb277d70f92a1f85b30525122209..86d0705286bcba48c9b6c24e2d09741e8041b235 100644 (file)
@@ -1,3 +1,8 @@
+2000-02-07  Mark Mitchell  <mark@codesourcery.com>
+
+       * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
+       carriage return after a macro name.
+
 2000-02-07  Fred Fish  <fnf@be.com>
 
        * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
index f031c958a228158485eaadcf0067b949191c9d97..a245791985321f31948049ab63c56f1c5ff87a96 100644 (file)
@@ -2624,6 +2624,7 @@ cpp_get_token (pfile)
                    {
                      if (c != '\n')
                        break;
+                     CPP_BUMP_LINE (pfile);
                      FORWARD (1);
                    }
                   else