AST_exp_n_t * AST_exp_string_constant ( parser_location_p location, STRTAB_str_t string ) { 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_string_constant(location, string); return exp; }
AST_exp_n_t * AST_exp_string_constant(STRTAB_str_t string) { 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_string_constant(string); return exp; }