diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-08-07 17:55:01 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-08-07 17:55:01 +0000 |
commit | 42dcba3463e9fafa2fe0419e88d490860f0a7cb3 (patch) | |
tree | eeb068aafafef2b19aa1d78e652937139b129316 /gcc/line-map.h | |
parent | e85152835015727927dcece51f9d73f2a92c12f4 (diff) | |
download | gcc-42dcba3463e9fafa2fe0419e88d490860f0a7cb3.tar.gz |
cpplib.h, line-map.h: Update comments.
* 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.
From-SVN: r44697
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)); |