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

Diff of /code/trunk/pcre_exec.c

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

revision 1512 by ph10, Wed Nov 5 15:08:03 2014 UTC revision 1513 by ph10, Wed Nov 19 20:57:13 2014 UTC
# Line 1404  for (;;) Line 1404  for (;;)
1404          condition = TRUE;          condition = TRUE;
1405    
1406          /* Advance ecode past the assertion to the start of the first branch,          /* Advance ecode past the assertion to the start of the first branch,
1407          but adjust it so that the general choosing code below works. */          but adjust it so that the general choosing code below works. If the
1408            assertion has a quantifier that allows zero repeats we must skip over
1409            the BRAZERO. This is a lunatic thing to do, but somebody did! */
1410    
1411            if (*ecode == OP_BRAZERO) ecode++;
1412          ecode += GET(ecode, 1);          ecode += GET(ecode, 1);
1413          while (*ecode == OP_ALT) ecode += GET(ecode, 1);          while (*ecode == OP_ALT) ecode += GET(ecode, 1);
1414          ecode += 1 + LINK_SIZE - PRIV(OP_lengths)[condcode];          ecode += 1 + LINK_SIZE - PRIV(OP_lengths)[condcode];

Legend:
Removed from v.1512  
changed lines
  Added in v.1513

  ViewVC Help
Powered by ViewVC 1.1.5