Example #1
0
int
mdoc_endparse(struct mdoc *mdoc)
{

	mdoc_macroend(mdoc);
	return(1);
}
Example #2
0
/*
 * Climb back up the parse tree, validating open scopes.  Mostly calls
 * through to macro_end() in macro.c.
 */
int
mdoc_endparse(struct mdoc *m)
{

    assert( ! (MDOC_HALT & m->flags));
    if (mdoc_macroend(m))
        return(1);
    m->flags |= MDOC_HALT;
    return(0);
}