From ee0ce7d2eca2794c4c3fdf170037184386e66114 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 18 Aug 2017 22:45:17 +0200 Subject: [PATCH] match-item --- lib/Makefile | 2 +- lib/ecoli_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5