diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-07-01 14:29:11 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-07-01 14:29:11 (GMT) |
commit | 349fc26e6c278e0d1de00458c76a113ae8425f88 (patch) | |
tree | 155be98abe3f09f2c334dd275fd725cdaf10506d /generic/regcomp.c | |
parent | f35ac41c5ad6fb2efa6d0833f0299549c69a6329 (diff) | |
download | tcl-349fc26e6c278e0d1de00458c76a113ae8425f88.zip tcl-349fc26e6c278e0d1de00458c76a113ae8425f88.tar.gz tcl-349fc26e6c278e0d1de00458c76a113ae8425f88.tar.bz2 |
Add focussed stack limiting to the RE compiler. Tuning might not yet be right
but it passes everything normally checked in the test suite. [Bug 1905562]
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r-- | generic/regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c index afe1b1b..8ff77ad 100644 --- a/generic/regcomp.c +++ b/generic/regcomp.c @@ -131,7 +131,7 @@ static void cloneouts(struct nfa *, struct state *, struct state *, struct state static void delsub(struct nfa *, struct state *, struct state *); static void deltraverse(struct nfa *, struct state *, struct state *); static void dupnfa(struct nfa *, struct state *, struct state *, struct state *, struct state *); -static void duptraverse(struct nfa *, struct state *, struct state *); +static void duptraverse(struct nfa *, struct state *, struct state *, int); static void cleartraverse(struct nfa *, struct state *); static void specialcolors(struct nfa *); static long optimize(struct nfa *, FILE *); |