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
rename structures and functions
[protos/libecoli.git]
/
src
/
ecoli_node_space.c
diff --git
a/src/ecoli_node_space.c
b/src/ecoli_node_space.c
index
c7afed6
..
4ab6ad3
100644
(file)
--- a/
src/ecoli_node_space.c
+++ b/
src/ecoli_node_space.c
@@
-23,7
+23,7
@@
struct ec_node_space {
static int
ec_node_space_parse(const struct ec_node *node,
static int
ec_node_space_parse(const struct ec_node *node,
- struct ec_p
ars
e *state,
+ struct ec_p
nod
e *state,
const struct ec_strvec *strvec)
{
const char *str;
const struct ec_strvec *strvec)
{
const char *str;
@@
-47,7
+47,7
@@
ec_node_space_parse(const struct ec_node *node,
static struct ec_node_type ec_node_space_type = {
.name = "space",
.parse = ec_node_space_parse,
static struct ec_node_type ec_node_space_type = {
.name = "space",
.parse = ec_node_space_parse,
- .complete = ec_
node_
complete_unknown,
+ .complete = ec_complete_unknown,
.size = sizeof(struct ec_node_space),
};
.size = sizeof(struct ec_node_space),
};
@@
-79,14
+79,14
@@
static int ec_node_space_testcase(void)
}
/* never completes whatever the input */
testres |= EC_TEST_CHECK_COMPLETE(node,
}
/* never completes whatever the input */
testres |= EC_TEST_CHECK_COMPLETE(node,
- "", EC_
NODE_ENDLIST
,
- EC_
NODE_ENDLIST
);
+ "", EC_
VA_END
,
+ EC_
VA_END
);
testres |= EC_TEST_CHECK_COMPLETE(node,
testres |= EC_TEST_CHECK_COMPLETE(node,
- " ", EC_
NODE_ENDLIST
,
- EC_
NODE_ENDLIST
);
+ " ", EC_
VA_END
,
+ EC_
VA_END
);
testres |= EC_TEST_CHECK_COMPLETE(node,
testres |= EC_TEST_CHECK_COMPLETE(node,
- "foo", EC_
NODE_ENDLIST
,
- EC_
NODE_ENDLIST
);
+ "foo", EC_
VA_END
,
+ EC_
VA_END
);
ec_node_free(node);
return testres;
ec_node_free(node);
return testres;