aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-12-01 22:01:10 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-01 22:01:10 +0000
commit8d9e9a083d629324aec2cab9aacfd37b47fa9b48 (patch)
treeb2d9610f10a0aa663383569503ef2c3432eb0dd8 /gcc/cpplib.h
parenta717799c527689a0590887bad2d381bf163c29b4 (diff)
downloadgcc-8d9e9a083d629324aec2cab9aacfd37b47fa9b48.zip
gcc-8d9e9a083d629324aec2cab9aacfd37b47fa9b48.tar.gz
gcc-8d9e9a083d629324aec2cab9aacfd37b47fa9b48.tar.bz2
cppinit.c (initialize): Forgotten prototype.
* cppinit.c (initialize): Forgotten prototype. * cpplex.c (_cpp_lex_token): Loop until not skipping. Always clear PREV_WHITE upon meeting a new line. * cpplib.c (end_directive): Set pfile->skipping after skip_rest_of_line. * cpplib.h (cpp_reader): Remove macro_pos. * cppmacro.c (cpp_get_line): Don't do anything special inside macros. (parse_arg): Add PREV_WHITE if a token appears after new lines. (funlike_invocation_p): Save and restore the output position over a successful check for a '('. (enter_macro_context): Delete uses of macro_pos. (cpp_get_token): Don't use pfile->skipping. From-SVN: r37927
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 9f2961a..faccc6a 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -498,10 +498,8 @@ struct cpp_reader
/* Lexer state. */
struct lexer_state state;
- /* The position of the last lexed token, last lexed directive, and
- last macro invocation. */
+ /* The position of the last lexed token and last lexed directive. */
cpp_lexer_pos lexer_pos;
- cpp_lexer_pos macro_pos;
cpp_lexer_pos directive_pos;
/* Memory pools. */