]> git.droids-corp.org - protos/libecoli.git/commitdiff
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 8d447964339cca10fbe15ad7ca04a5db1fff9b60..107cb808fedbca94f79ae33f9100671426170788 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 fb4b1febf916888d21ec8db43d8f1cff1469aa5a..a1dc5e717e684a44c00f5be5d043946ff9a8fa93 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;