match-item
authorOlivier Matz <zer0@droids-corp.org>
Fri, 18 Aug 2017 20:45:17 +0000 (22:45 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Fri, 18 Aug 2017 20:50:04 +0000 (22:50 +0200)
lib/Makefile
lib/ecoli_test.c

index 8d44796..107cb80 100644 (file)
@@ -53,7 +53,7 @@ srcs += ecoli_node_cmd.c
 srcs += ecoli_node_empty.c
 srcs += ecoli_node_expr.c
 srcs += ecoli_node_expr_test.c
-srcs += ecoli_node_file.c
+#srcs += ecoli_node_file.c
 srcs += ecoli_node_int.c
 srcs += ecoli_node_many.c
 srcs += ecoli_node_once.c
index fb4b1fe..a1dc5e7 100644 (file)
@@ -140,7 +140,7 @@ int ec_test_check_complete(struct ec_node *tk, ...)
                }
 
                count++;
-               TAILQ_FOREACH(item, &c->items, next) {
+               TAILQ_FOREACH(item, &c->match_items, next) {
                        /* only check matching completions */
                        if (item->add != NULL && strcmp(item->add, s) == 0)
                                break;