diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-21 20:35:03 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-21 20:35:03 +0000 |
commit | 83b4f157d4daded80000e151a11815be7bc92575 (patch) | |
tree | cfdf435a5578191efb49da30ccc56ef93351f543 /out.c | |
parent | 28eeb27f1cb4b3c30ede14a1e367fa86624a8420 (diff) | |
download | mandoc-83b4f157d4daded80000e151a11815be7bc92575.tar.gz |
Accomodate for groff's crappy behaviour wherein an unrecognised
single-character escape (and ONLY this type of escape) will map back
into itself:
"If a backslash is followed by a character that does not
constitute a defined escape sequence the backslash is silently
ignored and the character maps to itself."
(From groff.7.)
Found by Jason McIntyre.
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz) *d = DECO_NOSPACE; return(i); default: - *d = DECO_SPECIAL; + *d = DECO_SSPECIAL; i--; lim = 1; break; |