summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 19:00:26 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 19:00:26 +0000
commit4087613d084e0e1a598f851e398c492879319050 (patch)
treedc29c41d4ea8d368485a05613f91c17d4bec16ea /gcc/cpplib.h
parente23b9583f9b56513ea7158f85c9f325756819ee9 (diff)
downloadgcc-4087613d084e0e1a598f851e398c492879319050.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38357 138bc75d-0d04-0410-961f-82ee72b054a4
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 32ebb747db2..3c71188c480 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 *));