]> git.cameronkatri.com Git - mandoc.git/blobdiff - term.c
Backed-out warning about Ds.
[mandoc.git] / term.c
diff --git a/term.c b/term.c
index f9d60a8d74ddf1bccf7aa3b1e74133f1d93908ea..5e64262058a4cbf4edbe0e414bd28f6165ab22d7 100644 (file)
--- 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);