mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
tweak get_source_text_between comment
This commit is contained in:
parent
a01c9dfe60
commit
df3709d167
@ -949,8 +949,9 @@ location_get_source_line (const char *file_path, int line)
|
||||
return char_span (buffer, len);
|
||||
}
|
||||
|
||||
/* Return a copy of the source text between two locations. The caller is
|
||||
responsible for freeing the return value. */
|
||||
/* Return a NUL-terminated copy of the source text between two locations, or
|
||||
NULL if the arguments are invalid. The caller is responsible for freeing
|
||||
the return value. */
|
||||
|
||||
char *
|
||||
get_source_text_between (location_t start, location_t end)
|
||||
|
Loading…
Reference in New Issue
Block a user