aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cppfiles.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bad634c..9b72fc7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * cppfiles.c (_cpp_make_system_header): Generate a file
+ change callback.
+
2001-02-15 Jim Meyering <meyering@lucent.com>
* Makefile.in (install-common): Don't depend on installdirs here.
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.