store full token and completion in completed_item
[protos/libecoli.git] / lib / ecoli_node_many.c
index 8395bd1..c718890 100644 (file)
@@ -108,7 +108,7 @@ __ec_node_many_complete(struct ec_node_many *node, unsigned int max,
                        struct ec_completed *completed,
                        const struct ec_strvec *strvec)
 {
-       struct ec_parsed *parsed = ec_completed_cur_parse_state(completed);
+       struct ec_parsed *parsed = ec_completed_get_state(completed);
        struct ec_strvec *childvec = NULL;
        unsigned int i;
        int ret;