version 1.198, 2015/05/01 15:27:54 |
version 1.199, 2015/05/01 16:02:47 |
Line 258 lookup(struct roff_man *mdoc, int from, int line, int |
|
Line 258 lookup(struct roff_man *mdoc, int from, int line, int |
|
static void |
static void |
rew_last(struct roff_man *mdoc, const struct roff_node *to) |
rew_last(struct roff_man *mdoc, const struct roff_node *to) |
{ |
{ |
struct roff_node *n, *np; |
struct roff_node *np; |
|
|
if (to->flags & MDOC_VALID) |
if (to->flags & MDOC_VALID) |
return; |
return; |
Line 273 rew_last(struct roff_man *mdoc, const struct roff_node |
|
Line 273 rew_last(struct roff_man *mdoc, const struct roff_node |
|
*/ |
*/ |
np = mdoc->last->parent; |
np = mdoc->last->parent; |
mdoc_valid_post(mdoc); |
mdoc_valid_post(mdoc); |
n = mdoc->last; |
|
mdoc->last = np; |
mdoc->last = np; |
assert(mdoc->last); |
assert(mdoc->last); |
mdoc->last->last = n; |
|
} |
} |
mdoc_valid_post(mdoc); |
mdoc_valid_post(mdoc); |
} |
} |