* cppinit.c (do_includes): Fix typo.
From-SVN: r38928
This commit is contained in:
parent
76028b1f3b
commit
a4299d07de
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
|
* cppinit.c (do_includes): Fix typo.
|
||||||
|
|
||||||
2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||||
|
|
||||||
* config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
|
* config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
|
||||||
|
@ -23,6 +27,7 @@
|
||||||
|
|
||||||
* cppinit.c (cpp_start_read): If -fpreprocessed, ignore
|
* cppinit.c (cpp_start_read): If -fpreprocessed, ignore
|
||||||
-D, -U and -A, and don't initialize the builtins.
|
-D, -U and -A, and don't initialize the builtins.
|
||||||
|
(do_includes): Error if -include or -imacros with -fpreprocessed.
|
||||||
* cppmain.c (cb_define, cb_undef): Unconditionally process
|
* cppmain.c (cb_define, cb_undef): Unconditionally process
|
||||||
the callback.
|
the callback.
|
||||||
* tradcpp.c (main): Fix typo.
|
* tradcpp.c (main): Fix typo.
|
||||||
|
|
|
@ -851,7 +851,7 @@ do_includes (pfile, p, scan)
|
||||||
|
|
||||||
/* Don't handle if -fpreprocessed. Later: maybe update this to
|
/* Don't handle if -fpreprocessed. Later: maybe update this to
|
||||||
use the #include "" search path if cpp_read_file fails. */
|
use the #include "" search path if cpp_read_file fails. */
|
||||||
if (! CPP_OPTION (pfile, preprocessed))
|
if (CPP_OPTION (pfile, preprocessed))
|
||||||
cpp_error (pfile, "-include and -imacros cannot be used with -fpreprocessed");
|
cpp_error (pfile, "-include and -imacros cannot be used with -fpreprocessed");
|
||||||
else if (_cpp_read_file (pfile, p->arg) && scan)
|
else if (_cpp_read_file (pfile, p->arg) && scan)
|
||||||
cpp_scan_buffer_nooutput (pfile, 0);
|
cpp_scan_buffer_nooutput (pfile, 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue