Mercurial > ~dholland > hg > tradcpp > index.cgi
diff place.h @ 185:16b4451e34b8
Add the ability to output line numbers, sort of.
It is enabled with the intentionally undocumented -p option (similar
to -P but reversed sense) and it might be vaguely useful but only
prints the line number when the file changes and may not get the line
numbers right.
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 03:59:36 -0400 (2015-06-12) |
parents | 4c3375895c6e |
children | 3a25180d3a5c |
line wrap: on
line diff
--- a/place.h Fri Jun 12 03:35:01 2015 -0400 +++ b/place.h Fri Jun 12 03:59:36 2015 -0400 @@ -55,6 +55,8 @@ const char *place_getname(const struct place *); const char *place_getparsedir(const struct place *incplace); +bool place_eq(const struct place *, const struct place *); +bool place_samefile(const struct place *, const struct place *); void place_changefile(struct place *p, const char *name);