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_complete.c
diff --git
a/src/ecoli_complete.c
b/src/ecoli_complete.c
index
537de57
..
0d9fd95
100644
(file)
--- a/
src/ecoli_complete.c
+++ b/
src/ecoli_complete.c
@@
-130,8
+130,8
@@
ec_complete_child(const struct ec_node *node,
/* restore parent parse state */
if (cur_pstate != NULL) {
/* restore parent parse state */
if (cur_pstate != NULL) {
- ec_pnode_unlink_child(c
ur_pstate, c
hild_pstate);
- assert(
!ec_pnode_has_child(child_pstate)
);
+ ec_pnode_unlink_child(child_pstate);
+ assert(
ec_pnode_get_first_child(child_pstate) == NULL
);
}
ec_pnode_free(child_pstate);
comp->cur_pstate = cur_pstate;
}
ec_pnode_free(child_pstate);
comp->cur_pstate = cur_pstate;