summaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-28 05:56:38 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-28 05:56:38 +0000
commitc4abf88dc0518a1c26523ebad53c8bfd05dd376a (patch)
tree2f5db92bd0f352a3b3a9f86ac6b719d86650e290 /gcc/cppexp.c
parente8e6034b1ebee81e4c6edfe8418941c96cb8ac6e (diff)
downloadgcc-c4abf88dc0518a1c26523ebad53c8bfd05dd376a.tar.gz
* 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 *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34228 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index e823232cee7..b50acd8bb3c 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);