Commit 665ad678 by Neil Booth Committed by Neil Booth

c-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).

	* c-lex.c (cb_file_change): Treat in_system_header as strictly
	boolean (0 or 1).

From-SVN: r38361
parent ee83b1f7
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
* c-lex.c (cb_file_change): Treat in_system_header as strictly
boolean (0 or 1).
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
* cppmain.c: Update print.lineno with -P.
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
......
......@@ -230,7 +230,6 @@ cb_file_change (pfile, fc)
cpp_reader *pfile ATTRIBUTE_UNUSED;
const cpp_file_change *fc;
{
/* Do the actions implied by the preceding numbers. */
if (fc->reason == FC_ENTER)
{
/* Don't stack the main buffer on the input stack. */
......@@ -284,7 +283,7 @@ cb_file_change (pfile, fc)
}
update_header_times (fc->to.filename);
in_system_header = fc->sysp;
in_system_header = fc->sysp != 0;
input_filename = fc->to.filename;
lineno = fc->to.lineno; /* Do we need this? */
......
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