Commit a2981930 by Per Bothner Committed by Per Bothner

line-map.h (line_map_start): Add parameter names so preceding comment makes sense.


	* include/line-map.h (line_map_start):  Add parameter names so
	preceding comment makes sense.
	(linemap_add):  Remove from comment mention of non-existing parameter.

From-SVN: r87561
parent c18a5b6c
2004-09-15 Per Bothner <per@bothner.com>
* include/line-map.h (line_map_start): Add parameter names so
preceding comment makes sense.
(linemap_add): Remove from comment mention of non-existing parameter.
2004-09-09 Matt Austern <austern@apple.com> 2004-09-09 Matt Austern <austern@apple.com>
Zack Weinberg <zack@codesourcery.com> Zack Weinberg <zack@codesourcery.com>
......
...@@ -108,7 +108,7 @@ extern void linemap_check_files_exited (struct line_maps *); ...@@ -108,7 +108,7 @@ extern void linemap_check_files_exited (struct line_maps *);
the highest_location). */ the highest_location). */
extern source_location linemap_line_start extern source_location linemap_line_start
(struct line_maps *, unsigned int, unsigned int); (struct line_maps *set, unsigned int to_line, unsigned int max_column_hint);
/* Add a mapping of logical source line to physical source file and /* Add a mapping of logical source line to physical source file and
line number. line number.
...@@ -119,8 +119,7 @@ extern source_location linemap_line_start ...@@ -119,8 +119,7 @@ extern source_location linemap_line_start
TO_FILE is NULL, then TO_FILE, TO_LINE and SYSP are given their TO_FILE is NULL, then TO_FILE, TO_LINE and SYSP are given their
natural values considering the file we are returning to. natural values considering the file we are returning to.
START_LOCATION should be monotonic increasing across calls to this A call to this function can relocate the previous set of
function. A call to this function can relocate the previous set of
maps, so any stored line_map pointers should not be used. */ maps, so any stored line_map pointers should not be used. */
extern const struct line_map *linemap_add extern const struct line_map *linemap_add
(struct line_maps *, enum lc_reason, unsigned int sysp, (struct line_maps *, enum lc_reason, unsigned int sysp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment