INSTALL_LIB = install -m 0644
INSTALL_MAN = $(INSTALL_DATA)
-VERSION = 1.7.14
-VDATE = 11 June 2009
+VERSION = 1.7.15
+VDATE = 12 June 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
-/* $Id: mdoc.c,v 1.76 2009/06/10 20:18:43 kristaps Exp $ */
+/* $Id: mdoc.c,v 1.77 2009/06/12 12:52:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
p = node_alloc(mdoc, line, pos, tok, MDOC_BLOCK);
if (NULL == p)
return(0);
- if ((p->args = args))
+ p->args = args;
+ if (p->args)
(args->refcnt)++;
return(node_append(mdoc, p));
}
p = node_alloc(mdoc, line, pos, tok, MDOC_ELEM);
if (NULL == p)
return(0);
- if ((p->args = args))
+ p->args = args;
+ if (p->args)
(args->refcnt)++;
return(node_append(mdoc, p));
}
-/* $Id: mdoc_action.c,v 1.10 2009/06/12 09:18:00 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.11 2009/06/12 12:52:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
* width if a macro.
*/
- if ((n = m->last->body->child)) {
+ n = m->last->body->child;
+ if (n) {
assert(MDOC_BLOCK == n->type);
assert(MDOC_It == n->tok);
n = n->head->child;