diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-05-28 05:56:38 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-05-28 05:56:38 +0000 |
commit | f8f769ea4e694c516b9631ae8f2215cc6d5fb96f (patch) | |
tree | 2f5db92bd0f352a3b3a9f86ac6b719d86650e290 /gcc/cppexp.c | |
parent | e79f71f73dd44748c28d7f94b29d293722345e26 (diff) | |
download | gcc-f8f769ea4e694c516b9631ae8f2215cc6d5fb96f.zip gcc-f8f769ea4e694c516b9631ae8f2215cc6d5fb96f.tar.gz gcc-f8f769ea4e694c516b9631ae8f2215cc6d5fb96f.tar.bz2 |
cppfiles.c: Read files in, using mmap if possible, then prescan them separately.
* cppfiles.c: Read files in, using mmap if possible, then
prescan them separately.
(read_file, read_with_read): New functions.
* cpplex.c: Don't define UCHAR_MAX.
(_cpp_read_and_prescan): Rename to _cpp_prescan. Don't read
the file here.
* cppinit.c (handle_option): Automatically define __cplusplus,
__OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
the respective -lang switch.
* cpphash.h (enum node_type, struct hashnode, _cpp_lookup
prototype): Move to...
* cpplib.h: ... here. Rename struct hashnode to struct
cpp_hashnode and give it a typedef. Rename _cpp_lookup to
cpp_lookup. Add 'fe_value' slot, a union tree_node *.
From-SVN: r34228
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index e823232..b50acd8 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -394,7 +394,7 @@ parse_assertion (pfile) cpp_reader *pfile; { struct operation op; - HASHNODE *hp; + cpp_hashnode *hp; struct predicate *pred; cpp_toklist query; enum cpp_ttype type; @@ -414,7 +414,7 @@ parse_assertion (pfile) tok = pfile->token_buffer + old_written; len = CPP_WRITTEN (pfile) - old_written; - hp = _cpp_lookup (pfile, tok, len); + hp = cpp_lookup (pfile, tok, len); /* Look ahead for an open paren. */ _cpp_skip_hspace (pfile); |