summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-03-06 16:27:38 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-03-06 16:27:38 (GMT)
commit1a111453396899c9453b493849a6d72cae0eba0c (patch)
tree5c76a792a99cc153c0abdbbe8c9ce647ade02996 /generic/regcomp.c
parent78af51451a413e9386b97092d20c3d8cc8d1ac25 (diff)
downloadtcl-1a111453396899c9453b493849a6d72cae0eba0c.zip
tcl-1a111453396899c9453b493849a6d72cae0eba0c.tar.gz
tcl-1a111453396899c9453b493849a6d72cae0eba0c.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 3dd89d8..aebe1ab 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);