summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-12 03:42:30 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-12 03:42:30 +0000
commit76e5465a229f975f67e161163edd64d397e7548d (patch)
treeb6a034134f9f646df618389e79a9becaa26938a5 /gcc/cpplib.h
parent365c26cd9baa1a275462f8c8c21bec6da1cfb680 (diff)
downloadgcc-76e5465a229f975f67e161163edd64d397e7548d.tar.gz
* cppfiles.c: Move all default-#defines to top of file.
(open_include_file): Replace by lookup_include_file. (read_with_read, read_file): Merged into read_include_file. (stack_include_file, purge_cache): New functions. (close_cached_fd): Delete. (lookup_include_file, read_include_file, _cpp_pop_file_buffer): Cache the in-memory buffer, not the file descriptor. * cpphash.h (struct include_file): Add buffer, st, refcnt, mapped fields. (xcnew): New utility macro. (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file. * cpplib.h (struct cpp_buffer): Remove mapped field. * cpplex.c (parse_string): Accept backslash space newline as a line continuation. (lex_line): Likewise. (_cpp_get_token): Remove hard limit on macro nesting. testsuite: * gcc.dg/cpp/backslash.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 9122acdec89..9793bc0e922 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -246,9 +246,6 @@ struct cpp_buffer
or for -Wtraditional, and only once per file (otherwise it would
be far too noisy). */
char warned_cplusplus_comments;
-
- /* True if this buffer's data is mmapped. */
- char mapped;
};
struct file_name_map_list;