cppfiles.c (NO_INCLUDE_PATH): New macro.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 13 Mar 2001 23:55:10 +0000 (23:55 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 13 Mar 2001 23:55:10 +0000 (23:55 +0000)
commit41947a54d2d19e8432255617cb7b9f28de65c413
tree3fc1eb6452163596e3e8d8e1f8d49711b555bc6d
parentfafcb5c9370abb44c61fbbd68c8b4b09685e86fa
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
gcc/ChangeLog
gcc/cppfiles.c
gcc/cpplib.c