aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-02-16 07:41:08 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-02-16 07:41:08 +0000
commite4a345f8322b12b093980226dbb330f7c0bf7464 (patch)
treefc3f7f8208bd417f8f7f948da6d8e0f6df3b36e4 /gcc/cppfiles.c
parent63100912b7244736f7b30501ac0d24f4f32a72de (diff)
downloadgcc-e4a345f8322b12b093980226dbb330f7c0bf7464.zip
gcc-e4a345f8322b12b093980226dbb330f7c0bf7464.tar.gz
gcc-e4a345f8322b12b093980226dbb330f7c0bf7464.tar.bz2
cppfiles.c (_cpp_make_system_header): Generate a file change callback.
* cppfiles.c (_cpp_make_system_header): Generate a file change callback. From-SVN: r39749
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r--gcc/cppfiles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 01b8d5f..1c41445 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -530,6 +530,8 @@ cpp_make_system_header (pfile, syshdr, externc)
if (syshdr)
flags = 1 + (externc != 0);
pfile->buffer->sysp = flags;
+ _cpp_do_file_change (pfile, FC_RENAME, pfile->buffer->nominal_fname,
+ pfile->buffer->lineno);
}
/* Report on all files that might benefit from a multiple include guard.