diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-09-12 03:42:30 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-09-12 03:42:30 +0000 |
commit | a58d32c208153b93994f6bc1a26dd35e4b58c994 (patch) | |
tree | b6a034134f9f646df618389e79a9becaa26938a5 /gcc/cpplib.h | |
parent | 4ba01ed2ae8beb00e653be369f423a452ed6f363 (diff) | |
download | gcc-a58d32c208153b93994f6bc1a26dd35e4b58c994.zip gcc-a58d32c208153b93994f6bc1a26dd35e4b58c994.tar.gz gcc-a58d32c208153b93994f6bc1a26dd35e4b58c994.tar.bz2 |
cppfiles.c: Move all default-#defines to top of file.
* 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.
From-SVN: r36347
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 9122acd..9793bc0 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; |