aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2000-12-18 19:00:26 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-18 19:00:26 +0000
commiteb1f4d9d2804a8f244a06bff2d22d62906cccbb8 (patch)
treedc29c41d4ea8d368485a05613f91c17d4bec16ea /gcc/cpplib.h
parente2187d3b5278e31a321fae25879d9044248d2287 (diff)
downloadgcc-eb1f4d9d2804a8f244a06bff2d22d62906cccbb8.zip
gcc-eb1f4d9d2804a8f244a06bff2d22d62906cccbb8.tar.gz
gcc-eb1f4d9d2804a8f244a06bff2d22d62906cccbb8.tar.bz2
c-lex.c: s/change_file/file_change.
* c-lex.c: s/change_file/file_change. * cpplib.h: Similarly. * cppmain.c: Similarly. * fix-header.c: Similarly. * cppfiles.c (stack_include_file): Pass the buffer location and size to cpp_push_buffer. Generate the file_change callback, so that sysp is already set. * cpphash.h: Add _cpp_do_file_change. * cpplib.c (do_line): Set buffer->sysp directly. Generate the file_change callback after setting sysp. (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception here. (cpp_push_buffer): Don't generate a callback. Clear sysp. (cpp_pop_buffer): Clean up logic. From-SVN: r38357
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 32ebb74..3c71188 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -590,7 +590,7 @@ struct cpp_reader
/* Call backs. */
struct {
- void (*change_file) PARAMS ((cpp_reader *, const cpp_file_change *));
+ void (*file_change) PARAMS ((cpp_reader *, const cpp_file_change *));
void (*include) PARAMS ((cpp_reader *, const unsigned char *,
const cpp_token *));
void (*define) PARAMS ((cpp_reader *, cpp_hashnode *));