summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-05-16 00:54:03 +0000
committerschwarze <schwarze@openbsd.org>2010-05-16 00:54:03 +0000
commitf673a3c7f56af2337ea2de9b85dcf81ac59dc5c4 (patch)
tree335837a61651571ef0035e6ebe4688dd663eadae /usr.bin/mandoc/man_html.c
parentmdoc_isdelim now returns enum mdelim, not int any more; (diff)
downloadwireguard-openbsd-f673a3c7f56af2337ea2de9b85dcf81ac59dc5c4.tar.xz
wireguard-openbsd-f673a3c7f56af2337ea2de9b85dcf81ac59dc5c4.zip
In theory, Kristaps never intended to write a roff parser,
but in practice, most real legacy man(7)uals are using so much low level roff that we can't really get away without at least partially handling some roff instructions. As doing this in man(7) only has become messy and as even some mdoc(7) pages need it, start a minimal partial roff preprocessor. As a first step, move handling of .am[i], .de[i] and .ig there. Do not use the roff preprocessor for new manuals! Now that we have three main parser libraries - roff, man and mdoc - each one having its own error handling is becoming messy, too. Thus, start unifying message handling in one central place, introducing a new generic function mmsg(). coded by kristaps@
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r--usr.bin/mandoc/man_html.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c
index 7640351dcce..74ee0935395 100644
--- a/usr.bin/mandoc/man_html.c
+++ b/usr.bin/mandoc/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.10 2010/05/15 18:06:02 schwarze Exp $ */
+/* $Id: man_html.c,v 1.11 2010/05/16 00:54:03 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -102,12 +102,6 @@ static const struct htmlman mans[MAN_MAX] = {
{ man_br_pre, NULL }, /* Sp */
{ man_ign_pre, NULL }, /* Vb */
{ NULL, NULL }, /* Ve */
- { man_ign_pre, NULL }, /* de */
- { man_ign_pre, NULL }, /* dei */
- { man_ign_pre, NULL }, /* am */
- { man_ign_pre, NULL }, /* ami */
- { man_ign_pre, NULL }, /* ig */
- { NULL, NULL }, /* . */
{ NULL, NULL }, /* if */
{ NULL, NULL }, /* ie */
{ NULL, NULL }, /* el */