diff options
Diffstat (limited to 'src/location.h')
-rw-r--r-- | src/location.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/location.h b/src/location.h index ec481649..95c5a07b 100644 --- a/src/location.h +++ b/src/location.h @@ -98,7 +98,9 @@ extern location const empty_location; void location_compute (location *loc, boundary *cur, char const *token, size_t size); -void location_print (FILE *out, location loc); +/* Print location to file. Return number of actually printed + characters. */ +unsigned location_print (FILE *out, location loc); /* Return -1, 0, 1, depending whether a is before, equal, or after b. */ |