]> git.droids-corp.org - protos/libecoli.git/blobdiff - lib/ecoli_node_re_lex.c
fix config dump
[protos/libecoli.git] / lib / ecoli_node_re_lex.c
index 0120367ecff6f710cceb77e4ed4eb3dbf1983d87..f5a6c370df2982aa9e25c2f752b4be67b1e52513 100644 (file)
@@ -235,7 +235,7 @@ struct ec_node *ec_node_re_lex(const char *id, struct ec_node *child)
        if (child == NULL)
                return NULL;
 
-       node = (struct ec_node_re_lex *)__ec_node(&ec_node_re_lex_type, id);
+       node = (struct ec_node_re_lex *)ec_node_from_type(&ec_node_re_lex_type, id);
        if (node == NULL) {
                ec_node_free(child);
                return NULL;