#include <readline/history.h>
#include <ecoli_node.h>
+#include <ecoli_parsed.h>
+#include <ecoli_completed.h>
#include <ecoli_keyval.h>
-
#include <ecoli_node_str.h>
#include <ecoli_node_seq.h>
#include <ecoli_node_space.h>
return NULL;
ec_completed_iter_free(iter);
- iter = ec_completed_iter_new(c, EC_MATCH);
+ iter = ec_completed_iter(c, EC_MATCH);
if (iter == NULL)
return NULL;
}
if (helps == NULL)
return 1;
- iter = ec_completed_iter_new(c, EC_MATCH | EC_NO_MATCH);
+ iter = ec_completed_iter(c, EC_MATCH | EC_NO_MATCH);
if (iter == NULL)
goto fail;
{
struct ec_node *cmdlist = NULL, *cmd = NULL;
- cmdlist = ec_node_new("or", NULL);
+ cmdlist = ec_node("or", NULL);
if (cmdlist == NULL)
goto fail;