]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/lex.c
* cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jul 2000 02:32:41 +0000 (02:32 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jul 2000 02:32:41 +0000 (02:32 +0000)
commit241e762ee7945bc224c331bfe68ef2de97397350
treef6656bb21e208ce3d9194a471d84e8b7a0fdac65
parentc4b2e2d7cf9b748e87d521f4633e1f2263decfbc
* cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
cpplib.c, cpplib.h: Eradicate all traces of code dependent on
traditional, lang_chill, or lang_fortran.

* cppfiles.c: #undef strcmp to suppress warning about macros
used without arguments.
(_cpp_execute_include): Use f, not fname, in "No include path"
error.
(_cpp_pop_file_buffer): New function.
* cpplib.c: Don't include <sys/mman.h>.
(cpp_push_buffer): Set line_base and lineno in new buffer.
(cpp_pop_buffer): Use _cpp_pop_file_buffer.

* cpplex.c: Move all prototypes and structure declarations to the
top of the file.  Properly parenthesise some macro arguments.
(cpp_scan_line): New function.
(special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
don't need to walk up the stack counting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35003 138bc75d-0d04-0410-961f-82ee72b054a4
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