]> git.droids-corp.org - protos/libecoli.git/blobdiff - src/ecoli_node_or.c
api doc and minor changes
[protos/libecoli.git] / src / ecoli_node_or.c
index 5f26f62a17a41b02f0a01427a9111e5ac630f5ac..e9d6c1eb32e26e8689799cf4760abc0c7d5caf79 100644 (file)
@@ -31,7 +31,7 @@ struct ec_node_or {
 
 static int
 ec_node_or_parse(const struct ec_node *node,
-               struct ec_pnode *state,
+               struct ec_pnode *pstate,
                const struct ec_strvec *strvec)
 {
        struct ec_node_or *priv = ec_node_priv(node);
@@ -39,7 +39,7 @@ ec_node_or_parse(const struct ec_node *node,
        int ret;
 
        for (i = 0; i < priv->len; i++) {
-               ret = ec_parse_child(priv->table[i], state, strvec);
+               ret = ec_parse_child(priv->table[i], pstate, strvec);
                if (ret == EC_PARSE_NOMATCH)
                        continue;
                return ret;