aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppinit.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-03-13 23:55:10 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-03-13 23:55:10 +0000
commit41947a54d2d19e8432255617cb7b9f28de65c413 (patch)
tree3fc1eb6452163596e3e8d8e1f8d49711b555bc6d /gcc/cppinit.c
parentfafcb5c9370abb44c61fbbd68c8b4b09685e86fa (diff)
downloadgcc-41947a54d2d19e8432255617cb7b9f28de65c413.zip
gcc-41947a54d2d19e8432255617cb7b9f28de65c413.tar.gz
gcc-41947a54d2d19e8432255617cb7b9f28de65c413.tar.bz2
cppfiles.c (NO_INCLUDE_PATH): New macro.
* cppfiles.c (NO_INCLUDE_PATH): New macro. (find_include_file): Decide here which part of the include chain to start the search. Complain about an empty include chain in all cases apart from an abolsute file name. (_cpp_execute_include): Don't choose the search chain here. Don't call handle_missing_include in the case of an empty include chain. (_cpp_compare_file_date): Don't choose the search chain here. * cpplib.c (do_include_next): Move the in-main-file diagnostic here from _cpp_execute_include. Behave like #include if we're in the main file. From-SVN: r40445
Diffstat (limited to 'gcc/cppinit.c')
0 files changed, 0 insertions, 0 deletions