X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b805eca764fa0a7f0b5693931a2289fc74689f40..75ae8299840bbd854fa2474d38402bbb933c6511:/src/location.h diff --git a/src/location.h b/src/location.h index 2783f912..8f1c5ae1 100644 --- a/src/location.h +++ b/src/location.h @@ -98,8 +98,9 @@ extern location const empty_location; void location_compute (location *loc, boundary *cur, char const *token, size_t size); -/* Print location to file. Return number of actually printed - characters. */ +/* Print location to file. + Return number of actually printed characters. + Warning: uses quotearg's slot 3. */ unsigned location_print (location loc, FILE *out); /* Free any allocated ressources and close any open file handles that are @@ -120,7 +121,7 @@ location_cmp (location a, location b) return res; } -/* LOC_STR must be formatted as `file:line.column', it will be modified. */ +/* LOC_STR must be formatted as 'file:line.column', it will be modified. */ void boundary_set_from_string (boundary *bound, char *loc_str); #endif /* ! defined LOCATION_H_ */