aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-03-12 21:31:51 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-03-12 21:31:51 +0000
commitc19b12cb004dd81035fe2779438612804a27d3a9 (patch)
tree590fd1847cab73a5ef4b75fd3561a468bf056eab /gcc/cpplib.h
parentad9c4d9f7b601d599c3119e21d28c4a75cc94298 (diff)
downloadgcc-c19b12cb004dd81035fe2779438612804a27d3a9.zip
gcc-c19b12cb004dd81035fe2779438612804a27d3a9.tar.gz
gcc-c19b12cb004dd81035fe2779438612804a27d3a9.tar.bz2
cppfiles.c (cpp_rename_file, [...]): New.
* cppfiles.c (cpp_rename_file, cpp_push_include): New. * cppinit.c (push_include): Move with changes to cppfiles.c. (cpp_read_main_file): Mark named operators here... (cpp_finish_options): ...not here. Update. (_cpp_maybe_push_include_file): Update. * cpplib.h (cpp_push_include, cpp_rename_file): New. From-SVN: r64266
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index ebb2766..06a219c 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -719,6 +719,8 @@ extern unsigned char *cpp_quote_string PARAMS ((unsigned char *,
extern int cpp_included PARAMS ((cpp_reader *, const char *));
extern void cpp_make_system_header PARAMS ((cpp_reader *, int, int));
extern void cpp_simplify_path PARAMS ((char *));
+extern bool cpp_push_include PARAMS ((cpp_reader *, const char *));
+extern void cpp_rename_file PARAMS ((cpp_reader *, const char *));
/* In cpppch.c */
struct save_macro_data;