diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/regcomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c index 35a3b83f50..b0093d940e 100644 --- a/posix/regcomp.c +++ b/posix/regcomp.c @@ -1149,6 +1149,8 @@ calc_epsdest (dfa, node) || dfa->nodes[idx].type == OP_CLOSE_SUBEXP || dfa->nodes[idx].type == OP_BACK_REF) re_node_set_init_1 (dfa->edests + idx, node->next); + else + assert (!IS_EPSILON_NODE (dfa->nodes[idx].type)); } } |