From 469dda9abe8e2d5ff08ae7d632dad0b4a59a2d49 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 15 Jul 2009 15:53:57 +0000 Subject: Removed assertion (disregarded blank literal lines). --- mdoc_action.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mdoc_action.c') diff --git a/mdoc_action.c b/mdoc_action.c index b3e471fc..5b4a9564 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -298,6 +298,11 @@ post_lb(POST_ARGS) char *buf; size_t sz; + /* + * FIXME: this must be broken apart into a series of TEXT nodes, + * each containing a single word. + */ + assert(MDOC_TEXT == m->last->child->type); p = mdoc_a2lib(m->last->child->string); if (NULL == p) { @@ -326,6 +331,11 @@ post_st(POST_ARGS) { const char *p; + /* + * FIXME: this must be broken apart into a series of TEXT nodes, + * each containing a single word. + */ + assert(MDOC_TEXT == m->last->child->type); p = mdoc_a2st(m->last->child->string); assert(p); @@ -343,6 +353,11 @@ post_at(POST_ARGS) struct mdoc_node *n; const char *p; + /* + * FIXME: this must be broken apart into a series of TEXT nodes, + * each containing a single word. + */ + if (m->last->child) { assert(MDOC_TEXT == m->last->child->type); p = mdoc_a2att(m->last->child->string); -- cgit