diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-03-11 17:44:16 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-03-11 17:44:16 +0000 |
commit | 6176ebf156233fe433cb0dd0a1606f4a1379c371 (patch) | |
tree | 3d7b358816429e919ceb5736a53a3907daf5f0ac /src/pcre2_auto_possess.c | |
parent | f10f167543e67b5ae0fe71dee34639b05c4c8ceb (diff) | |
download | pcre2-6176ebf156233fe433cb0dd0a1606f4a1379c371.tar.gz |
Code for callouts with string arguments. Documentation not yet updated.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@220 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_auto_possess.c')
-rw-r--r-- | src/pcre2_auto_possess.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pcre2_auto_possess.c b/src/pcre2_auto_possess.c index 15dd770..e25ec43 100644 --- a/src/pcre2_auto_possess.c +++ b/src/pcre2_auto_possess.c @@ -604,6 +604,12 @@ for(;;) continue; } + if (c == OP_CALLOUT_STR) + { + code += GET(code, 1 + 2*LINK_SIZE); + continue; + } + if (c == OP_ALT) { do code += GET(code, 1); while (*code == OP_ALT); @@ -1234,6 +1240,10 @@ for (;;) code += 2; break; + case OP_CALLOUT_STR: + code += GET(code, 1 + 2*LINK_SIZE); + break; + #ifdef SUPPORT_WIDE_CHARS case OP_XCLASS: code += GET(code, 1); |