From: Olivier Matz Date: Fri, 18 Aug 2017 20:45:17 +0000 (+0200) Subject: match-item X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ee0ce7d2eca2794c4c3fdf170037184386e66114;p=protos%2Flibecoli.git match-item --- diff --git a/lib/Makefile b/lib/Makefile index 8d44796..107cb80 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 diff --git a/lib/ecoli_test.c b/lib/ecoli_test.c index fb4b1fe..a1dc5e7 100644 --- a/lib/ecoli_test.c +++ b/lib/ecoli_test.c @@ -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;