contrib/mdocml/mdoc.c
struct mdoc *
mdoc_alloc(struct regset *regs, struct mparse *parse)
{
	struct mdoc	*p;

	p = mandoc_calloc(1, sizeof(struct mdoc));

	p->parse = parse;
	p->regs = regs;

	mdoc_hash_init();
	mdoc_alloc1(p);
	return(p);
}
/*
 * Allocate volatile and non-volatile parse resources.  
 */
Allocate volatile and non-volatile parse resources.
Allocate volatile and non - volatile parse resources .
struct mdoc *
mdoc_alloc(struct regset *regs, struct mparse *parse)
{
	struct mdoc	*p;
	p = mandoc_calloc(1, sizeof(struct mdoc));
	p->parse = parse;
	p->regs = regs;
	mdoc_hash_init();
	mdoc_alloc1(p);
	return(p);
}
struct mdoc * mdoc_alloc ( struct regset * regs , struct mparse * parse ) { struct mdoc * p ; p = mandoc_calloc ( 1 , sizeof ( struct mdoc ) ) ; p -> parse = parse ; p -> regs = regs ; mdoc_hash_init ( ) ; mdoc_alloc1 ( p ) ; return ( p ) ; }
Allocate volatile and non-volatile parse resources.
Allocate volatile and non - volatile parse resources .