summaryrefslogtreecommitdiffstats
path: root/out.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-21 20:35:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-21 20:35:03 +0000
commit83b4f157d4daded80000e151a11815be7bc92575 (patch)
treecfdf435a5578191efb49da30ccc56ef93351f543 /out.h
parent28eeb27f1cb4b3c30ede14a1e367fa86624a8420 (diff)
downloadmandoc-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.h')
-rw-r--r--out.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/out.h b/out.h
index c787f0c6..ee91b3d4 100644
--- a/out.h
+++ b/out.h
@@ -37,8 +37,9 @@ enum roffscale {
enum roffdeco {
DECO_NONE,
- DECO_SPECIAL,
- DECO_RESERVED,
+ DECO_SPECIAL, /* special character */
+ DECO_SSPECIAL, /* single-char special */
+ DECO_RESERVED, /* reserved word */
DECO_BOLD,
DECO_ITALIC,
DECO_ROMAN,