version 1.108, 2011/07/18 07:46:41 |
version 1.109, 2011/07/21 10:24:35 |
Line 371 man_addeqn(struct man *m, const struct eqn *ep) |
|
Line 371 man_addeqn(struct man *m, const struct eqn *ep) |
|
|
|
assert( ! (MAN_HALT & m->flags)); |
assert( ! (MAN_HALT & m->flags)); |
|
|
n = man_node_alloc(m, ep->line, ep->pos, MAN_EQN, MAN_MAX); |
n = man_node_alloc(m, ep->ln, ep->pos, MAN_EQN, MAN_MAX); |
n->eqn = ep; |
n->eqn = ep; |
|
|
if ( ! man_node_append(m, n)) |
if ( ! man_node_append(m, n)) |
return(0); |
return(0); |
|
|
m->next = MAN_NEXT_SIBLING; |
m->next = MAN_NEXT_SIBLING; |
return(man_descope(m, ep->line, ep->pos)); |
return(man_descope(m, ep->ln, ep->pos)); |
} |
} |
|
|
int |
int |