aboutsummaryrefslogtreecommitdiff
path: root/lib/forlan.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-09-27 15:01:01 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-09-27 15:04:42 +0300
commitff8594b8cc916ba665961bd1e4e956810057f0ea (patch)
tree140e903f09d53ee87ab6e0f564d70ddf21402c69 /lib/forlan.c
parent0c8a7ab953a86426a13aa0eccaf2b2c46f8271c0 (diff)
downloadeclat-ff8594b8cc916ba665961bd1e4e956810057f0ea.tar.gz
eclat-ff8594b8cc916ba665961bd1e4e956810057f0ea.tar.bz2
Implement describe-instances and some bugfixes.
* configure.ac: Change bug-reporting email. * grecs: Upgrade. * lib/forlan.c (eval_comp0): Set root. * lib/xmltree.c (eclat_partial_tree_end_handler): Set type to grecs_node_block for empty blocks. * src/Makefile.am: Add new files. * src/eclat.c: Rewrite and simplify command name matcher. Implement describe-instances. * src/eclat.conf (DescribeInstances): New format. * src/eclat.h (eclat_describe_instances): New proto.
Diffstat (limited to 'lib/forlan.c')
-rw-r--r--lib/forlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/forlan.c b/lib/forlan.c
index b7f7280..174b60b 100644
--- a/lib/forlan.c
+++ b/lib/forlan.c
@@ -273,6 +273,7 @@ eval_comp0(forlan_eval_env_t env, union forlan_node *p)
if (p->comp.wildcards) {
root = grecs_match_buf_first(mb, root);
} else {
+ grecs_match_buf_set_root(mb, root);
if (root->type != grecs_node_root)
root = root->down;
grecs_tree_recurse(root, grecs_node_exact_match, mb);

Return to:

Send suggestions and report system problems to the System administrator.