aboutsummaryrefslogtreecommitdiff
path: root/lib/xmltree.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/xmltree.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/xmltree.c')
-rw-r--r--lib/xmltree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xmltree.c b/lib/xmltree.c
index e5d4772..6431d28 100644
--- a/lib/xmltree.c
+++ b/lib/xmltree.c
@@ -164,7 +164,8 @@ eclat_partial_tree_end_handler(void *data, const XML_Char *name)
}
}
noderef->flags &= ~NODEREF_TEXT;
- }
+ } else if (node->type == (enum grecs_node_type)-1)
+ node->type = grecs_node_block;
if (!tos)
grecs_list_push(noderef->stack, node);

Return to:

Send suggestions and report system problems to the System administrator.