summaryrefslogtreecommitdiffstatshomepage
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
commit1dc71205dae2e5dd56cf1f23033d63c7e14a0795 (patch)
tree08b46add29357f7047f7f912d26620747bea61ea /man.c
parent2f0e48a3b94c4ea5af2482492f89ecda94388aaf (diff)
downloadmandoc-1dc71205dae2e5dd56cf1f23033d63c7e14a0795.tar.gz
mandoc-1dc71205dae2e5dd56cf1f23033d63c7e14a0795.tar.zst
mandoc-1dc71205dae2e5dd56cf1f23033d63c7e14a0795.zip
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/man.c b/man.c
index c27ddaf8..b39ae9e1 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.27 2009/07/07 09:35:40 kristaps Exp $ */
+/* $Id: man.c,v 1.28 2009/07/24 20:22:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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;