diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-01 23:14:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-01 23:14:15 +0000 |
commit | 47a3a2b11dd9c321362d7104337e82cb7170da95 (patch) | |
tree | 08c9a887e527e2c2364b456394426abad49c5596 /term.c | |
parent | fb06a8ce3dc0cd9e25b55638172648266b5c9dcd (diff) | |
download | mandoc-47a3a2b11dd9c321362d7104337e82cb7170da95.tar.gz |
Backed-out warning about Ds.
Backed-out assertion about Bd subtypes.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); |