* cpplib.c (skip_rest_of_line): Use _cpp_get_token.

From-SVN: r37135
This commit is contained in:
Neil Booth 2000-10-29 22:45:13 +00:00 committed by Neil Booth
parent 5e53dba6a8
commit 1641a8238a
2 changed files with 6 additions and 2 deletions

View 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,

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