* updated accordingly. */
static int
__ec_node_subset_parse(struct parse_result *out, struct ec_node **table,
* updated accordingly. */
static int
__ec_node_subset_parse(struct parse_result *out, struct ec_node **table,
memset(&result, 0, sizeof(result));
ret = __ec_node_subset_parse(&result, child_table,
memset(&result, 0, sizeof(result));
ret = __ec_node_subset_parse(&result, child_table,
/* if result is not the best, ignore */
if (result.parse_len < best_result.parse_len) {
memset(&result, 0, sizeof(result));
/* if result is not the best, ignore */
if (result.parse_len < best_result.parse_len) {
memset(&result, 0, sizeof(result));
- best_parse = ec_pnode_get_last_child(state);
- ec_pnode_unlink_child(state, best_parse);
+ best_parse = ec_pnode_get_last_child(pstate);
+ ec_pnode_unlink_child(pstate, best_parse);
memset(&result, 0, sizeof(result));
ret = __ec_node_subset_parse(&result, priv->table,
memset(&result, 0, sizeof(result));
ret = __ec_node_subset_parse(&result, priv->table,