summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'term.c')
-rw-r--r--term.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/term.c b/term.c
index f9d60a8d..5e642620 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.31 2009/03/01 13:06:49 kristaps Exp $ */
+/* $Id: term.c,v 1.32 2009/03/01 23:14:15 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);