* cpplib.c (skip_rest_of_line): Use _cpp_get_token.
From-SVN: r37135
This commit is contained in:
parent
5e53dba6a8
commit
1641a8238a
2 changed files with 6 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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--;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue