]> gcc.gnu.org Git - gcc.git/commit - gcc/cpplib.h
cppfiles.c: Read files in, using mmap if possible, then prescan them separately.
authorZack Weinberg <zack@wolery.cumb.org>
Sun, 28 May 2000 05:56:38 +0000 (05:56 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sun, 28 May 2000 05:56:38 +0000 (05:56 +0000)
commitf8f769ea4e694c516b9631ae8f2215cc6d5fb96f
tree2f5db92bd0f352a3b3a9f86ac6b719d86650e290
parente79f71f73dd44748c28d7f94b29d293722345e26
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
gcc/ChangeLog
gcc/cppexp.c
gcc/cppfiles.c
gcc/cpphash.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/cpplib.h
This page took 0.054395 seconds and 5 git commands to generate.