summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-03-06 16:26:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-03-06 16:26:18 (GMT)
commit596e86d26f839d7ffb40012c2c511e33b6de0b12 (patch)
treeb23c1bf3d217e1d241ba5dc806685386744dd848 /generic/regcomp.c
parentfe7e82dfed8be6f8a8c99cfd68d8e1119faee568 (diff)
downloadtcl-596e86d26f839d7ffb40012c2c511e33b6de0b12.zip
tcl-596e86d26f839d7ffb40012c2c511e33b6de0b12.tar.gz
tcl-596e86d26f839d7ffb40012c2c511e33b6de0b12.tar.bz2
New routine hasnonemptyout() for minor improvement to new fixempties().
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r--generic/regcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c
index 7116d82..68bfb30 100644
--- a/generic/regcomp.c
+++ b/generic/regcomp.c
@@ -121,6 +121,7 @@ static void destroystate(struct nfa *, struct state *);
static void newarc(struct nfa *, int, pcolor, struct state *, struct state *);
static struct arc *allocarc(struct nfa *, struct state *);
static void freearc(struct nfa *, struct arc *);
+static int hasnonemptyout(struct state *);
static int nonemptyouts(struct state *);
static int nonemptyins(struct state *);
static struct arc *findarc(struct state *, int, pcolor);