]> gcc.gnu.org Git - gcc.git/commit - gcc/cpplex.c
cpplib.h (struct cpp_reader): New field include_depth.
authorJakub Jelinek <jakub@redhat.com>
Sun, 2 Jul 2000 08:56:57 +0000 (10:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 2 Jul 2000 08:56:57 +0000 (10:56 +0200)
commitfb753f88e9ae5a80d1499596821d3b09fd09cc7c
treee1e29855a5797315304e8491a4cfdf4286a2a7d9
parent970d6386ebf7ea8f38b5f07623851e2f05ae5b2c
cpplib.h (struct cpp_reader): New field include_depth.

* cpplib.h (struct cpp_reader): New field include_depth.
(struct cpp_printer): Rename last_bsd to last_id.
* cppfiles.c (read_include_file): Bump include_depth.
* cpplex.c (cpp_pop_buffer): Decrement include_depth.
(output_line_command): Output correct #line if a header
is including itself and is not protected against multiple inclusion.
Use include_depth instead of buffer_stack_depth, last_id instead of
last_bsd.
* cppinit.c (cpp_start_read): Initialize last_id instead of
last_bsd.

From-SVN: r34831
gcc/ChangeLog
gcc/cppfiles.c
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.h
This page took 0.298583 seconds and 5 git commands to generate.