FreeBSD/contrib/mdocml/mdoc_macro.c
/*
 * The simplest argument parser available: Parse the remaining
 * words until the end of the phrase or line and return 0
 * or until the next macro, call that macro, and return 1.
 */
The simplest argument parser available: Parse the remaining
words until the end of the phrase or line and return 0
or until the next macro, call that macro, and return 1.
The simplest argument parser available : Parse the remaining words until the end of the phrase or line and return 0 or until the next macro call that macro and return 1 .
static int
parse_rest(struct roff_man *mdoc, int tok, int line, int *pos, char *buf)
{
	int		 la;
	for (;;) {
		la = *pos;
		if (mdoc_args(mdoc, line, pos, buf, tok, NULL) == ARGS_EOLN)
			return 0;
		if (macro_or_word(mdoc, tok, line, la, pos, buf, 1))
			return 1;
	}
}
static int parse_rest ( struct roff_man * mdoc , int tok , int line , int * pos , char * buf ) { int la ; for ( ; ; ) { la = * pos ; if ( mdoc_args ( mdoc , line , pos , buf , tok , NULL ) == ARGS_EOLN ) return 0 ; if ( macro_or_word ( mdoc , tok , line , la , pos , buf , 1 ) ) return 1 ; } }
The simplest argument parser available: Parse the remaining
 words until the end of the phrase or line and return 0
 or until the next macro, call that macro, and return 1.
The simplest argument parser available : Parse the remaining words until the end of the phrase or line and return 0 or until the next macro call that macro and return 1 .