-/* $Id: mdoc_action.c,v 1.27 2009/07/12 20:50:08 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.28 2009/07/15 15:53:57 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
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) {
{
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);
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);
-/* $Id: term.c,v 1.86 2009/07/15 15:37:48 kristaps Exp $ */
+/* $Id: term.c,v 1.87 2009/07/15 15:53:57 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
term_word(struct termp *p, const char *word)
{
- assert(*word);
if (term_isclosedelim(word))
if ( ! (TERMP_IGNDELIM & p->flags))
p->flags |= TERMP_NOSPACE;