link-grammar-5.8.0/link-grammar/dict-file/read-dict.c
/**
 * Create an OR_type expression. The expressions nl, nr will be
 * OR-ed together.
 */
Create an OR_type expression. The expressions nl, nr will be
OR-ed together.
Create an OR_type expression . The expressions nl nr will be OR - ed together .
static Exp * make_or_node(Pool_desc *mp, Exp* nl, Exp* nr)
{
	Exp* n;
	n = Exp_create(mp);
	n->type = OR_type;
	n->operand_next = NULL;
	n->cost = 0.0;
	n->operand_first = nl;
	nl->operand_next = nr;
	nr->operand_next = NULL;
	return n;
}
static Exp * make_or_node ( Pool_desc * mp , Exp * nl , Exp * nr ) { Exp * n ; n = Exp_create ( mp ) ; n -> type = OR_type ; n -> operand_next = NULL ; n -> cost = 0.0 ; n -> operand_first = nl ; nl -> operand_next = nr ; nr -> operand_next = NULL ; return n ; }
Create an OR_type expression.
Create an OR_type expression .