rename __ec_node
[protos/libecoli.git] / lib / ecoli_node_sh_lex.c
index a632f97..e27f21b 100644 (file)
@@ -386,7 +386,7 @@ struct ec_node *ec_node_sh_lex(const char *id, struct ec_node *child)
        if (child == NULL)
                return NULL;
 
-       node = (struct ec_node_sh_lex *)__ec_node(&ec_node_sh_lex_type, id);
+       node = (struct ec_node_sh_lex *)ec_node_from_type(&ec_node_sh_lex_type, id);
        if (node == NULL) {
                ec_node_free(child);
                return NULL;