1. 23 Aug, 2001 9 commits
  2. 22 Aug, 2001 28 commits
  3. 21 Aug, 2001 3 commits
    • cppfiles.c (stack_include_file): line-map.c now handles include depth. · d8693c6f
      	* cppfiles.c (stack_include_file): line-map.c now handles include
      	depth.
      	(handle_missing_handler): Similarly.
      	(_cpp_execute_include): Similarly.
      	(_cpp_pop_file_buffer): Similarly.
      	* cpphash.h (struct cpp_reader): Remove system_include_depth,
      	buffer_stack_depth and include_depth.
      	* cpplib.c (do_include_common): line-map.c now handles include depth.
      	(cpp_push_buffer): Similarly.
      	(_cpp_pop_buffer): Similarly.
      	* cppmacro.c (builtin_macro): Update.
      	* line-map.c (init_line_maps): Set depth.
      	(add_line_map): Increment "used" earlier.  Update and use the
      	include depth.
      	(trace_include): Use the include depth.
      	* line-map.h (struct line_maps): New member depth.
      
      From-SVN: r45085
      Neil Booth committed
    • cppfiles.c (stack_include_file): Don't handle -H here. · 5993019d
      	* cppfiles.c (stack_include_file): Don't handle -H here.
      	* cppinit.c (cpp_start_read): Set include tracing after
      	cpp_post_options and after stacking the main file.
      	* line-map.c (trace_include): New.
      	(init_line_maps, add_line_map): Update.
      	* line-map.h (struct line_maps): New member trace_includes.
      
      From-SVN: r45084
      Neil Booth committed
    • cppfiles.c (stack_include_file): Harmonize system headerness tests. · e5eba70a
      	* cppfiles.c (stack_include_file): Harmonize system headerness tests.
      	* cppfiles.c (stack_include_file): Only stack a file if there
      	is something to do.  Return a boolean indicating whether a
      	buffer was stacked or not.
      	(_cpp_execute_include): Similarly.
      	(_cpp_read_file): Similarly.
      	* cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
      
      From-SVN: r45083
      Neil Booth committed