Commit 3092d0fc by Per Bothner Committed by Per Bothner

re PR preprocessor/15067 (Minor glitch in the source of cpp.)


	* cppinit.c (cpp_read_main_file):  Return NULL rather than false.
	Fixes PR preprocessor/15067.

From-SVN: r81068
parent 671cb993
2004-04-22 Per Bothner <per@bothner.com>
* cppinit.c (cpp_read_main_file): Return NULL rather than false.
Fixes PR preprocessor/15067.
2004-04-23 Andreas Schwab <schwab@suse.de> 2004-04-23 Andreas Schwab <schwab@suse.de>
* config/ia64/ia64intrin.h: Add intermediate cast to void * to * config/ia64/ia64intrin.h: Add intermediate cast to void * to
......
...@@ -471,7 +471,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname) ...@@ -471,7 +471,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname)
pfile->main_file pfile->main_file
= _cpp_find_file (pfile, fname, &pfile->no_search_path, false); = _cpp_find_file (pfile, fname, &pfile->no_search_path, false);
if (_cpp_find_failed (pfile->main_file)) if (_cpp_find_failed (pfile->main_file))
return false; return NULL;
_cpp_stack_file (pfile, pfile->main_file, false); _cpp_stack_file (pfile, pfile->main_file, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment