store full token and completion in completed_item
[protos/libecoli.git] / lib / ecoli_node_seq.c
index 6025fd7..9e0440b 100644 (file)
@@ -100,7 +100,7 @@ __ec_node_seq_complete(struct ec_node **table, size_t table_len,
                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;