X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/a03ada82544c8419c243f11f16b3aefd27e3e577..deac31b6127bb1d48e15d19023fa8bfba1ebe3d7:/mdoc_action.c?ds=inline diff --git a/mdoc_action.c b/mdoc_action.c index 8bc981fe..99b392db 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_action.c,v 1.28 2009/07/15 15:53:57 kristaps Exp $ */ +/* $Id: mdoc_action.c,v 1.30 2009/07/17 10:56:57 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -172,6 +172,8 @@ const struct actions mdoc_actions[MDOC_MAX] = { { NULL, NULL }, /* En */ { NULL, NULL }, /* Dx */ { NULL, NULL }, /* %Q */ + { NULL, NULL }, /* br */ + { NULL, NULL }, /* sp */ }; static int concat(struct mdoc *, const struct mdoc_node *, @@ -298,11 +300,6 @@ 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) { @@ -331,11 +328,6 @@ 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); @@ -353,11 +345,6 @@ 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);