version 1.76, 2009/06/10 20:18:43 |
version 1.77, 2009/06/12 12:52:51 |
Line 480 mdoc_block_alloc(struct mdoc *mdoc, int line, int pos, |
|
Line 480 mdoc_block_alloc(struct mdoc *mdoc, int line, int pos, |
|
p = node_alloc(mdoc, line, pos, tok, MDOC_BLOCK); |
p = node_alloc(mdoc, line, pos, tok, MDOC_BLOCK); |
if (NULL == p) |
if (NULL == p) |
return(0); |
return(0); |
if ((p->args = args)) |
p->args = args; |
|
if (p->args) |
(args->refcnt)++; |
(args->refcnt)++; |
return(node_append(mdoc, p)); |
return(node_append(mdoc, p)); |
} |
} |
Line 495 mdoc_elem_alloc(struct mdoc *mdoc, int line, int pos, |
|
Line 496 mdoc_elem_alloc(struct mdoc *mdoc, int line, int pos, |
|
p = node_alloc(mdoc, line, pos, tok, MDOC_ELEM); |
p = node_alloc(mdoc, line, pos, tok, MDOC_ELEM); |
if (NULL == p) |
if (NULL == p) |
return(0); |
return(0); |
if ((p->args = args)) |
p->args = args; |
|
if (p->args) |
(args->refcnt)++; |
(args->refcnt)++; |
return(node_append(mdoc, p)); |
return(node_append(mdoc, p)); |
} |
} |