diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-10-08 15:55:23 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-10-08 15:55:23 +0000 |
commit | 922f5c7def6633a3a608bb780a5f04c235d77e07 (patch) | |
tree | 77d131e8b6055401894a7bba9e9d7328863cc9ba /pcre_dfa_exec.c | |
parent | 280edf4c74c573c233ec15e7c63a467a13505931 (diff) | |
download | pcre-922f5c7def6633a3a608bb780a5f04c235d77e07.tar.gz |
Revert handling of atomic groups that do not include captures to the old way of
handling, thus reducing stack usage.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@723 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r-- | pcre_dfa_exec.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index 86478fe..62d03c5 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -164,7 +164,8 @@ static const uschar coptable[] = { 0, /* Assert not */ 0, /* Assert behind */ 0, /* Assert behind not */ - 0, 0, 0, 0, 0, 0, /* ONCE, BRA, BRAPOS, CBRA, CBRAPOS, COND */ + 0, 0, /* ONCE, ONCE_NC */ + 0, 0, 0, 0, 0, /* BRA, BRAPOS, CBRA, CBRAPOS, COND */ 0, 0, 0, 0, 0, /* SBRA, SBRAPOS, SCBRA, SCBRAPOS, SCOND */ 0, 0, /* CREF, NCREF */ 0, 0, /* RREF, NRREF */ @@ -232,7 +233,8 @@ static const uschar poptable[] = { 0, /* Assert not */ 0, /* Assert behind */ 0, /* Assert behind not */ - 0, 0, 0, 0, 0, 0, /* ONCE, BRA, BRAPOS, CBRA, CBRAPOS, COND */ + 0, 0, /* ONCE, ONCE_NC */ + 0, 0, 0, 0, 0, /* BRA, BRAPOS, CBRA, CBRAPOS, COND */ 0, 0, 0, 0, 0, /* SBRA, SBRAPOS, SCBRA, SCBRAPOS, SCOND */ 0, 0, /* CREF, NCREF */ 0, 0, /* RREF, NRREF */ @@ -2789,6 +2791,7 @@ for (;;) /*-----------------------------------------------------------------*/ case OP_ONCE: + case OP_ONCE_NC: { int local_offsets[2]; int local_workspace[1000]; |