From d9c6b1be15e48dc43678c02ee4e86d280ea73046 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 6 Feb 2011 21:44:36 +0000 Subject: 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). --- mdoc_term.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mdoc_term.c') 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 * Copyright (c) 2010 Ingo Schwarze @@ -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; -- cgit v1.2.3