summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 20:22:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 20:22:24 +0000
commit0d8aacabe1e3f7fd5a9be49188ca96e229c4fb6a (patch)
tree2078783f3427b073da8982323c2ff70ceae4e3da /man.c
parent01f69fb32c4ca7b2a3feed66a73e89239f256947 (diff)
downloadmandoc-0d8aacabe1e3f7fd5a9be49188ca96e229c4fb6a.tar.gz
Added `sp' support to libman.
Added `\c' to known escapes (only used in man, but still).
Diffstat (limited to 'man.c')
-rw-r--r--man.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man.c b/man.c
index e9bb7a56..8184dfef 100644
--- a/man.c
+++ b/man.c
@@ -34,6 +34,7 @@ const char *const __man_merrnames[WERRMAX] = {
"document has no body", /* WNODATA */
"document has no title/section", /* WNOTITLE */
"invalid escape sequence", /* WESCAPE */
+ "invalid number format", /* WNUMFMT */
};
const char *const __man_macronames[MAN_MAX] = {
@@ -42,7 +43,7 @@ const char *const __man_macronames[MAN_MAX] = {
"IP", "HP", "SM", "SB",
"BI", "IB", "BR", "RB",
"R", "B", "I", "IR",
- "RI", "na", "i"
+ "RI", "na", "i", "sp"
};
const char * const *man_macronames = __man_macronames;