mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-03 09:29:35 +08:00
c-lex.c (init_c_lex): If cpp_start_read fails, exit with error status.
* c-lex.c (init_c_lex): If cpp_start_read fails, exit with error status. From-SVN: r37279
This commit is contained in:
parent
ea33bfc554
commit
2b892489e1
@ -1,3 +1,8 @@
|
||||
2000-11-06 Neil Booth <neilb@earthling.net>
|
||||
|
||||
* c-lex.c (init_c_lex): If cpp_start_read fails, exit with
|
||||
error status.
|
||||
|
||||
2000-11-06 Neil Booth <neilb@earthling.net>
|
||||
|
||||
* tradcpp.c (special_symbol): Assign an null string rather
|
||||
|
@ -221,7 +221,7 @@ init_c_lex (filename)
|
||||
CPP_OPTION (&parse_in, digraphs) = flag_digraphs;
|
||||
|
||||
if (! cpp_start_read (&parse_in, filename))
|
||||
abort ();
|
||||
exit (FATAL_EXIT_CODE); /* cpplib has emitted an error. */
|
||||
|
||||
if (filename == 0 || !strcmp (filename, "-"))
|
||||
filename = "stdin";
|
||||
|
Loading…
Reference in New Issue
Block a user