git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api documentation for ec_parse
[protos/libecoli.git]
/
src
/
ecoli_node_re.c
diff --git
a/src/ecoli_node_re.c
b/src/ecoli_node_re.c
index
9e6678c
..
4bbc192
100644
(file)
--- a/
src/ecoli_node_re.c
+++ b/
src/ecoli_node_re.c
@@
-27,14
+27,14
@@
struct ec_node_re {
static int
ec_node_re_parse(const struct ec_node *node,
static int
ec_node_re_parse(const struct ec_node *node,
- struct ec_p
arse *
state,
+ struct ec_p
node *p
state,
const struct ec_strvec *strvec)
{
struct ec_node_re *priv = ec_node_priv(node);
const char *str;
regmatch_t pos;
const struct ec_strvec *strvec)
{
struct ec_node_re *priv = ec_node_priv(node);
const char *str;
regmatch_t pos;
- (void)state;
+ (void)
p
state;
if (ec_strvec_len(strvec) == 0)
return EC_PARSE_NOMATCH;
if (ec_strvec_len(strvec) == 0)
return EC_PARSE_NOMATCH;
@@
-116,7
+116,6
@@
static struct ec_node_type ec_node_re_type = {
.schema = ec_node_re_schema,
.set_config = ec_node_re_set_config,
.parse = ec_node_re_parse,
.schema = ec_node_re_schema,
.set_config = ec_node_re_set_config,
.parse = ec_node_re_parse,
- .complete = ec_node_complete_unknown,
.size = sizeof(struct ec_node_re),
.free_priv = ec_node_re_free_priv,
};
.size = sizeof(struct ec_node_re),
.free_priv = ec_node_re_free_priv,
};