/[pcre]/code/trunk/pcre_jit_compile.c
ViewVC logotype

Diff of /code/trunk/pcre_jit_compile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 859 by zherczeg, Thu Jan 5 19:18:12 2012 UTC revision 860 by zherczeg, Mon Jan 9 20:12:58 2012 UTC
# Line 6772  workspace. We don't need the workspace h Line 6772  workspace. We don't need the workspace h
6772  number of captured strings in the same way as pcre_exec(), so that the user  number of captured strings in the same way as pcre_exec(), so that the user
6773  gets the same result with and without JIT. */  gets the same result with and without JIT. */
6774    
6775  offsetcount = ((offsetcount - (offsetcount % 3)) * 2)/3;  if (offsetcount != 2)
6776      offsetcount = ((offsetcount - (offsetcount % 3)) * 2) / 3;
6777  maxoffsetcount = (re->top_bracket + 1) * 2;  maxoffsetcount = (re->top_bracket + 1) * 2;
6778  if (offsetcount > maxoffsetcount)  if (offsetcount > maxoffsetcount)
6779    offsetcount = maxoffsetcount;    offsetcount = maxoffsetcount;

Legend:
Removed from v.859  
changed lines
  Added in v.860

  ViewVC Help
Powered by ViewVC 1.1.5