diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-06 21:07:41 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-06 21:07:41 +0000 |
commit | bd507c05c4b80c10844cdacac547bca837686b52 (patch) | |
tree | 31a1005e7788f3f63227ac0f3097f1ff9111a46e /gcc/cpphash.h | |
parent | c6e2ff2063e0087a87cff9af0a8809c350318572 (diff) | |
download | gcc-bd507c05c4b80c10844cdacac547bca837686b52.tar.gz |
* cpperror.c (print_containing_files): Moved to line-map.c.
(print_location): line-map.c handles re-listing or otherwise.
* cpphash.h (struct lexer_state): Remove next_bol.
(struct cpp_buffer): Remove include_stack_listed.
* cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
Remove faked buffer handling.
(_cpp_do_file_change): Tweak.
* cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
* cppmain.c (struct printer): Remove filename.
(print_line, cb_file_change): Update accordingly.
* line-map.c: Include intl.h.
(init_line_maps): Initialize last_listed.
(free_line_maps): Sanity check, warn if ENABLED_CHECKING.
(add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
(print_containing_files): New.
* line-map.h (struct line_maps): New member last_listed.
(print_containing_files, INCLUDED_FROM): New.
* Makefile.in: Update.
* po/POTFILES.in: Add line-map.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44670 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 1ba4282561b..5409e070569 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -131,9 +131,6 @@ struct lexer_state all directives apart from #define. */ unsigned char save_comments; - /* If nonzero the next token is at the beginning of the line. */ - unsigned char next_bol; - /* Nonzero if we're mid-comment. */ unsigned char lexing_comment; @@ -219,10 +216,6 @@ struct cpp_buffer /* 1 = system header file, 2 = C system header file used for C++. */ unsigned char sysp; - /* Nonzero means we have printed (while error reporting) a list of - containing files that matches the current status. */ - unsigned char include_stack_listed; - /* Nonzero means that the directory to start searching for "" include files has been calculated and stored in "dir" below. */ unsigned char search_cached; |