summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-01 23:14:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-01 23:14:15 +0000
commit47a3a2b11dd9c321362d7104337e82cb7170da95 (patch)
tree08c9a887e527e2c2364b456394426abad49c5596 /term.c
parentfb06a8ce3dc0cd9e25b55638172648266b5c9dcd (diff)
downloadmandoc-47a3a2b11dd9c321362d7104337e82cb7170da95.tar.gz
Backed-out warning about Ds.
Backed-out assertion about Bd subtypes.
Diffstat (limited to 'term.c')
-rw-r--r--term.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/term.c b/term.c
index 34faeaca..54f1648e 100644
--- a/term.c
+++ b/term.c
@@ -1065,20 +1065,17 @@ termp_bd_pre(DECL_ARGS)
bl = &node->parent->data.block;
-
i = arg_getattr(MDOC_Offset, bl->argc, bl->argv);
if (-1 != i) {
assert(1 == bl->argv[i].sz);
p->offset += arg_offset(&bl->argv[i]);
}
- if ( ! arg_hasattr(MDOC_Literal, bl->argc, bl->argv))
- return(1);
-
p->flags |= TERMP_LITERAL;
for (n = node->child; n; n = n->next) {
- assert(MDOC_TEXT == n->type); /* FIXME */
+ if (MDOC_TEXT != n->type)
+ errx(1, "non-text displays unsupported");
if ((*n->data.text.string)) {
word(p, n->data.text.string);
flushln(p);