aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-01-13 18:39:26 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-01-13 18:39:26 +0000
commitd6d52dd655506899ea8ddbb5a18c0df16a45f3f9 (patch)
tree842229d5e9effcad193597ab41fcfb2eb4a902bc /gcc/cpphash.h
parentccd96f0ad82a526127150a8d254fbf70f3c93030 (diff)
downloadgcc-d6d52dd655506899ea8ddbb5a18c0df16a45f3f9.zip
gcc-d6d52dd655506899ea8ddbb5a18c0df16a45f3f9.tar.gz
gcc-d6d52dd655506899ea8ddbb5a18c0df16a45f3f9.tar.bz2
cppfiles.c (_cpp_fake_include): New function.
* cppfiles.c (_cpp_fake_include): New function. * cpphash.h (_cpp_fake_include): New. * cpplib.c (do_line): Call _cpp_fake_include when entering header files in preprocessed input. * cppmain.c (cb_pragma_implementation): Remove handling. (setup_callbacks): Don't register pragmas. From-SVN: r38987
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index af60ba4..380f125 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -1,5 +1,5 @@
/* Part of CPP library.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -400,6 +400,7 @@ extern cpp_hashnode *_cpp_lookup_with_hash PARAMS ((cpp_reader*, size_t,
unsigned int));
/* In cppfiles.c */
+extern void _cpp_fake_include PARAMS ((cpp_reader *, const char *));
extern void _cpp_never_reread PARAMS ((struct include_file *));
extern void _cpp_simplify_pathname PARAMS ((char *));
extern int _cpp_read_file PARAMS ((cpp_reader *, const char *));