diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-15 21:23:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-12-15 21:23:52 +0000 |
commit | 281129cb0c7f8658dbddf1c3861189908a4b31a5 (patch) | |
tree | ce62f9f0c1ce0befc4e905b6057f4426ab4eb703 /libmandoc.h | |
parent | 1785eefc0e123397ec0468858110d9ed6ff815db (diff) | |
download | mandoc-281129cb0c7f8658dbddf1c3861189908a4b31a5.tar.gz |
The "value" argument to the roff(7) .nr requests ends right before
the first non-digit character. While here, implement and document
an optional sign, requesting increment or decrement, as documented
in the Ossanna/Kernighan/Ritter troff manual and supported by groff.
Reported by bentley@ on discuss@.
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmandoc.h b/libmandoc.h index a96829f7..63943e5a 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -68,7 +68,7 @@ void roff_reset(struct roff *); enum rofferr roff_parseln(struct roff *, int, char **, size_t *, int, int *); void roff_endparse(struct roff *); -void roff_setreg(struct roff *, const char *, int); +void roff_setreg(struct roff *, const char *, int, char sign); int roff_getreg(const struct roff *, const char *); char *roff_strdup(const struct roff *, const char *); int roff_getcontrol(const struct roff *, |