summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 12:18:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 12:18:37 +0000
commite6cfc592798a7e03016169696640f0dd9f11d5e6 (patch)
treee9e5e188e11b13d858969b59b69d45953be7504d /mdoc_html.c
parent0b95ed5dc93d34749b819aa398725ff81f524b89 (diff)
downloadmandoc-e6cfc592798a7e03016169696640f0dd9f11d5e6.tar.gz
mandoc-e6cfc592798a7e03016169696640f0dd9f11d5e6.tar.zst
mandoc-e6cfc592798a7e03016169696640f0dd9f11d5e6.zip
Add table processing structures to -mdoc. This consists of an
external-facing function mdoc_addspan(), then various bits to prohibit printing and scanning (this requires some if's to be converted into switch's).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 36008de5..3cfab636 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.139 2010/12/24 22:47:37 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.140 2011/01/01 12:18:37 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -422,6 +422,8 @@ print_mdoc_node(MDOC_ARGS)
case (MDOC_TEXT):
print_text(h, n->string);
return;
+ case (MDOC_TBL):
+ return;
default:
if (mdocs[n->tok].pre && ENDBODY_NOT == n->end)
child = (*mdocs[n->tok].pre)(m, n, h);