cpplib.c (do_include_common): Move warnings for #include_next and #import out to...
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 12 Feb 2003 17:01:53 +0000 (17:01 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 12 Feb 2003 17:01:53 +0000 (17:01 +0000)
commit3963c2e00eaf827b8ededa284db7b1e3df0ad859
tree91ae138d4bace4f374af6fe05a30a7980676effc
parentd1a86812faa3f26ccf39b9b91b467c91fbf27d69
cpplib.c (do_include_common): Move warnings for #include_next and #import out to callers.

* cpplib.c (do_include_common): Move warnings for
#include_next and #import out to callers.  Use early-return
instead of nested ifs.  Don't do check_eol here.
(parse_include): Do check_eol here with the rest of the
parsing stuff.
(do_include_next, do_import): Now handle warnings.

From-SVN: r62772
gcc/ChangeLog
gcc/cpplib.c