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

Diff of /code/trunk/pcre_dfa_exec.c

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

revision 1011 by ph10, Sat Aug 25 11:36:15 2012 UTC revision 1015 by ph10, Sun Aug 26 16:07:14 2012 UTC
# Line 1384  for (;;) Line 1384  for (;;)
1384            dlen = 1;            dlen = 1;
1385            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
1386            rgb = UCD_GRAPHBREAK(d);            rgb = UCD_GRAPHBREAK(d);
1387            if (PRIV(ucp_gbtable)[lgb * ucp_gbCount + rgb] == 0) break;            if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) break;
1388            ncount++;            ncount++;
1389            lgb = rgb;            lgb = rgb;
1390            nptr += dlen;            nptr += dlen;
# Line 1644  for (;;) Line 1644  for (;;)
1644            dlen = 1;            dlen = 1;
1645            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
1646            rgb = UCD_GRAPHBREAK(d);            rgb = UCD_GRAPHBREAK(d);
1647            if (PRIV(ucp_gbtable)[lgb * ucp_gbCount + rgb] == 0) break;            if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) break;
1648            ncount++;            ncount++;
1649            lgb = rgb;            lgb = rgb;
1650            nptr += dlen;            nptr += dlen;
# Line 1913  for (;;) Line 1913  for (;;)
1913            dlen = 1;            dlen = 1;
1914            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
1915            rgb = UCD_GRAPHBREAK(d);            rgb = UCD_GRAPHBREAK(d);
1916            if (PRIV(ucp_gbtable)[lgb * ucp_gbCount + rgb] == 0) break;            if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) break;
1917            ncount++;            ncount++;
1918            lgb = rgb;            lgb = rgb;
1919            nptr += dlen;            nptr += dlen;
# Line 2132  for (;;) Line 2132  for (;;)
2132            dlen = 1;            dlen = 1;
2133            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }            if (!utf) d = *nptr; else { GETCHARLEN(d, nptr, dlen); }
2134            rgb = UCD_GRAPHBREAK(d);            rgb = UCD_GRAPHBREAK(d);
2135            if (PRIV(ucp_gbtable)[lgb * ucp_gbCount + rgb] == 0) break;            if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) break;
2136            ncount++;            ncount++;
2137            lgb = rgb;            lgb = rgb;
2138            nptr += dlen;            nptr += dlen;

Legend:
Removed from v.1011  
changed lines
  Added in v.1015

  ViewVC Help
Powered by ViewVC 1.1.5