diff options
author | 2011-02-06 21:44:36 +0000 | |
---|---|---|
committer | 2011-02-06 21:44:36 +0000 | |
commit | d9c6b1be15e48dc43678c02ee4e86d280ea73046 (patch) | |
tree | dbfae09ad283679c266fadf26ab8dad7c02642b2 /mdoc_term.c | |
parent | 91ab27befd54e154790aa66b308e8be09659b580 (diff) | |
download | mandoc-d9c6b1be15e48dc43678c02ee4e86d280ea73046.tar.gz mandoc-d9c6b1be15e48dc43678c02ee4e86d280ea73046.tar.zst mandoc-d9c6b1be15e48dc43678c02ee4e86d280ea73046.zip |
Add initial libmdoc and libman top-most machinery for accepting TBL
directives. For now this will just ignore them (except for -Ttree,
which just notes that an EQN's been accepted).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index d9ecbbf0..e84d56d2 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.215 2011/02/02 21:40:45 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.216 2011/02/06 21:44:36 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -319,6 +319,8 @@ print_mdoc_node(DECL_ARGS) term_newln(p); term_word(p, n->string); break; + case (MDOC_EQN): + break; case (MDOC_TBL): term_tbl(p, n->span); break; @@ -369,6 +371,8 @@ print_mdoc_node(DECL_ARGS) break; case (MDOC_TBL): break; + case (MDOC_EQN): + break; default: if ( ! termacts[n->tok].post || MDOC_ENDED & n->flags) break; |