diff options
author | dgp <dgp@users.sourceforge.net> | 2015-10-20 19:21:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-10-20 19:21:53 (GMT) |
commit | 5ec3b6491d71b85b55f8927e78f033e75c92170f (patch) | |
tree | 2d3cad937af686af85330cceb2cf78d5c96aea39 /generic/regcomp.c | |
parent | f12c713f8e323f0c7872d83c93b2371c7eb42365 (diff) | |
download | tcl-5ec3b6491d71b85b55f8927e78f033e75c92170f.zip tcl-5ec3b6491d71b85b55f8927e78f033e75c92170f.tar.gz tcl-5ec3b6491d71b85b55f8927e78f033e75c92170f.tar.bz2 |
Adaptation of re-better-pushpull.patch from Tom Lane @postgres
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r-- | generic/regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c index 985cb93..6b40100 100644 --- a/generic/regcomp.c +++ b/generic/regcomp.c @@ -144,9 +144,9 @@ static void cleartraverse(struct nfa *, struct state *); static void specialcolors(struct nfa *); static long optimize(struct nfa *, FILE *); static void pullback(struct nfa *, FILE *); -static int pull(struct nfa *, struct arc *); +static int pull(struct nfa *, struct arc *, struct state **); static void pushfwd(struct nfa *, FILE *); -static int push(struct nfa *, struct arc *); +static int push(struct nfa *, struct arc *, struct state **); #define INCOMPATIBLE 1 /* destroys arc */ #define SATISFIED 2 /* constraint satisfied */ #define COMPATIBLE 3 /* compatible but not satisfied yet */ |