aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-03-02 07:35:12 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-03-02 07:35:12 +0000
commit591e15a110886aa13f6b54fe4d0ab5a8a8bf8574 (patch)
treeae411edfe1a33d4c87567b4c5791c4fa1ec59310 /gcc/cpplib.h
parentc04278f74fd6b49f7a770ae51fd1dd0412989af7 (diff)
downloadgcc-591e15a110886aa13f6b54fe4d0ab5a8a8bf8574.zip
gcc-591e15a110886aa13f6b54fe4d0ab5a8a8bf8574.tar.gz
gcc-591e15a110886aa13f6b54fe4d0ab5a8a8bf8574.tar.bz2
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
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 0993792..50d3bfe 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -240,8 +240,8 @@ struct cpp_options
const char *deps_file;
/* Search paths for include files. */
- struct file_name_list *quote_include; /* First dir to search for "file" */
- struct file_name_list *bracket_include;/* First dir to search for <file> */
+ struct search_path *quote_include; /* "" */
+ struct search_path *bracket_include; /* <> */
/* Map between header names and file names, used only on DOS where
file names are limited in length. */