diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-20 22:39:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-20 22:39:30 +0000 |
commit | 7d5d7db4acbef7399cc00837c2424a8b25ccd8e4 (patch) | |
tree | b039cc491c0a240e9307b89b2735ab5313653677 /chars.c | |
parent | 02147107a75ec2ff2290c4341da118dda7bab836 (diff) | |
download | mandoc-7d5d7db4acbef7399cc00837c2424a8b25ccd8e4.tar.gz |
Improve handling of the roff(7) "\t" escape sequence:
* Parsing macro arguments has to be done in copy mode,
which implies replacing "\t" by a literal tab character.
* Otherwise, render "\t" as the empty string, not as a 't' character.
This fixes formatting of the distfile example in the oldrdist(1) manual.
This also shows up in the unzip(1) manual as one of several issues
preventing the removal of USE_GROFF from the archivers/unzip port.
Thanks to espie@ for attracting my attention to the unzip(1) manual.
Diffstat (limited to 'chars.c')
-rw-r--r-- | chars.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ struct ln { int unicode; }; -#define LINES_MAX 328 +#define LINES_MAX 329 #define CHAR(in, ch, code) \ { NULL, (in), (ch), (code) }, |