aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2000-12-18 20:38:35 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-18 20:38:35 +0000
commit665ad67835723e4ffcd91c52acfe96bf695209d5 (patch)
tree3dc0672aefe63044da0e690a8a490a2a429f5487 /gcc/c-lex.c
parentee83b1f75468c0b0dc2203158655e7667ea2e7d8 (diff)
downloadgcc-665ad67835723e4ffcd91c52acfe96bf695209d5.zip
gcc-665ad67835723e4ffcd91c52acfe96bf695209d5.tar.gz
gcc-665ad67835723e4ffcd91c52acfe96bf695209d5.tar.bz2
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
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 645661d..4dee1ef 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -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? */