X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/f52cdc4437cb37e93dbd03a14742e01eb654df7e..67a3b6c851566d68fb74eccb2b33cb3de56b314d:/term.c 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 * @@ -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);