diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-07 17:55:01 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-07 17:55:01 +0000 |
commit | c9fd1f3102c10198f7388d8a3d411f8b1d0f2669 (patch) | |
tree | eeb068aafafef2b19aa1d78e652937139b129316 /gcc/line-map.h | |
parent | 648989ea8d5edfd656f5290a7263f50c177c4d3f (diff) | |
download | gcc-c9fd1f3102c10198f7388d8a3d411f8b1d0f2669.tar.gz |
* cpplib.h, line-map.h: Update comments.
* cppmain.c (printer_init): Move inline.
(maybe_print_line, print_line): Take a map pointer.
(cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
(cb_file_change): Don't use prior value of print.map.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/line-map.h')
-rw-r--r-- | gcc/line-map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/line-map.h b/gcc/line-map.h index d5705c75614..865fbced5b6 100644 --- a/gcc/line-map.h +++ b/gcc/line-map.h @@ -69,7 +69,8 @@ extern void free_line_maps at least as long as the final call to lookup_line (). FROM_LINE should be monotonic increasing across calls to this - function. */ + function. A call to this function can relocate the previous set of + maps, so any stored line_map pointers should not be used. */ extern struct line_map *add_line_map PARAMS ((struct line_maps *, enum lc_reason, unsigned int from_line, const char *to_file, unsigned int to_line)); |