* cpplib.c (skip_rest_of_line): Use _cpp_get_token.
authorNeil Booth <neilb@earthling.net>
Sun, 29 Oct 2000 22:45:13 +0000 (22:45 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 29 Oct 2000 22:45:13 +0000 (22:45 +0000)
From-SVN: r37135

gcc/ChangeLog
gcc/cpplib.c

index 8bcfe30b010b250505602f54e3bbaf75217bc4a9..b938b9181b0ecfb26adc443a07646e9969304380 100644 (file)
@@ -1,3 +1,7 @@
+2000-10-29  Neil Booth  <neilb@earthling.net>
+
+       * cpplib.c (skip_rest_of_line):  Use _cpp_get_token.
+
 2000-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
index e16585f5668e4ff28852f670648cac63bcf52f82..18b44be305ad65908050d43208d39ee505eb009c 100644 (file)
@@ -188,10 +188,10 @@ skip_rest_of_line (pfile)
   /* Sweep up all tokens remaining on the line.  We need to read
      tokens from lookahead, but cannot just drop the lookahead buffers
      because they may be saving tokens prior to this directive for an
-     external client.  So we use cpp_get_token, with macros disabled.  */
+     external client.  So we use _cpp_get_token, with macros disabled.  */
   pfile->state.prevent_expansion++;
   while (!pfile->state.skip_newlines)
-    _cpp_lex_token (pfile, &token);
+    _cpp_get_token (pfile, &token);
   pfile->state.prevent_expansion--;
 }