#include <ecoli_node_option.h>
#include <ecoli_node_weakref.h>
+EC_LOG_TYPE_REGISTER(node_weakref);
+
struct ec_node_weakref {
struct ec_node gen;
struct ec_node *child;
return ec_node_parse_child(node->child, state, strvec);
}
-static struct ec_completed *
+static int
ec_node_weakref_complete(const struct ec_node *gen_node,
- struct ec_parsed *state,
+ struct ec_completed *completed,
+ struct ec_parsed *parsed,
const struct ec_strvec *strvec)
{
struct ec_node_weakref *node = (struct ec_node_weakref *)gen_node;
- return ec_node_complete_child(node->child, state, strvec);
+ return ec_node_complete_child(node->child, completed, parsed, strvec);
}
static struct ec_node_type ec_node_weakref_type = {