]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/files.cc
cppfiles.c (struct include_file): Update.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Fri, 2 Mar 2001 07:35:12 +0000 (07:35 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 2 Mar 2001 07:35:12 +0000 (07:35 +0000)
commit591e15a110886aa13f6b54fe4d0ab5a8a8bf8574
treeae411edfe1a33d4c87567b4c5791c4fa1ec59310
parentc04278f74fd6b49f7a770ae51fd1dd0412989af7
cppfiles.c (struct include_file): Update.

        * cppfiles.c (struct include_file): Update.
        (stack_include_file): Use search_from.
        (cpp_included, find_include_file): Update.
        (cpp_execute_include): Update.  ptr->name may not be
        null terminated.  Use the new search_from member variable
        of cpp_buffer.
        (_cpp_compare_file_date): Similarly.
        (search_from): New function, similiar to actual_directory.
        (actual_directory): Delete.
        (remap_filename): Update.  loc->name may not be null terminated.
        (struct file_name_list): Rename search_path.  Update.
        * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
        search_from and dir.
        (struct cpp_reader): Remove actual_dirs.
        * cppinit.c (struct cpp_pending): Update for renamed objects.
        (append_include_chain, remove_dup_dir, remove_dup_dirs,
        merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
        * cpplib.h (struct cpp_options): Similarly.

From-SVN: r40178
gcc/ChangeLog
gcc/cppfiles.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplib.h