Esempio n. 1
0
AST_exp_n_t * AST_exp_null_constant
(
    parser_location_p location
)
{
	AST_exp_n_t * exp = AST_exp_new(AST_EXP_CONSTANT);
	exp->exp.constant.type = AST_nil_const_k;
	exp->exp.constant.val.other = AST_null_constant(location);
	return exp;
}
Esempio n. 2
0
AST_exp_n_t * AST_exp_null_constant(void)	{
	AST_exp_n_t * exp = AST_exp_new(AST_EXP_CONSTANT);
	exp->exp.constant.type = AST_nil_const_k;
	exp->exp.constant.val.other = AST_null_constant();
	return exp;
}