contrib/mdocml/man_macro.c
static int
rew_scope(enum man_type type, struct man *m, enum mant tok)
{
	struct man_node	*n;
	enum rew	 c;

	/* LINTED */
	for (n = m->last; n; n = n->parent) {
		/* 
		 * Whether we should stop immediately (REW_HALT), stop
		 * and rewind until this point (REW_REWIND), or keep
		 * rewinding (REW_NOHALT).
		 */
		c = rew_dohalt(tok, type, n);
		if (REW_HALT == c)
			return(1);
		if (REW_REWIND == c)
			break;
	}

	/* 
	 * Rewind until the current point.  Warn if we're a roff
	 * instruction that's mowing over explicit scopes.
	 */
	assert(n);

	return(man_unscope(m, n, MANDOCERR_MAX));
}
/*
 * Rewinding entails ascending the parse tree until a coherent point,
 * for example, the `SH' macro will close out any intervening `SS'
 * scopes.  When a scope is closed, it must be validated and actioned.
 */
Rewinding entails ascending the parse tree until a coherent point,
for example, the `SH' macro will close out any intervening `SS'
scopes.  When a scope is closed, it must be validated and actioned.
Rewinding entails ascending the parse tree until a coherent point for example the ` SH ' macro will close out any intervening ` SS ' scopes . When a scope is closed it must be validated and actioned .
static int
rew_scope(enum man_type type, struct man *m, enum mant tok)
{
	struct man_node	*n;
	enum rew	 c;
	for (n = m->last; n; n = n->parent) {
		c = rew_dohalt(tok, type, n);
		if (REW_HALT == c)
			return(1);
		if (REW_REWIND == c)
			break;
	}
	assert(n);
	return(man_unscope(m, n, MANDOCERR_MAX));
}
static int rew_scope ( enum man_type type , struct man * m , enum mant tok ) { struct man_node * n ; enum rew c ; for ( n = m -> last ; n ; n = n -> parent ) { c = rew_dohalt ( tok , type , n ) ; if ( REW_HALT == c ) return ( 1 ) ; if ( REW_REWIND == c ) break ; } assert ( n ) ; return ( man_unscope ( m , n , MANDOCERR_MAX ) ) ; }
Rewinding entails ascending the parse tree until a coherent point,
 for example, the `SH' macro will close out any intervening `SS'
 scopes.
Rewinding entails ascending the parse tree until a coherent point for example the ` SH ' macro will close out any intervening ` SS ' scopes .
/* LINTED */ /* 
		 * Whether we should stop immediately (REW_HALT), stop
		 * and rewind until this point (REW_REWIND), or keep
		 * rewinding (REW_NOHALT).
		 */ /* 
	 * Rewind until the current point.  Warn if we're a roff
	 * instruction that's mowing over explicit scopes.
	 */