summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
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);