]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* cpplib.c (skip_rest_of_line): Use _cpp_get_token.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Oct 2000 22:45:13 +0000 (22:45 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Oct 2000 22:45:13 +0000 (22:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37135 138bc75d-0d04-0410-961f-82ee72b054a4

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--;
 }