/[pcre]/code/trunk/pcre_internal.h
ViewVC logotype

Diff of /code/trunk/pcre_internal.h

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

revision 629 by ph10, Fri Jul 22 09:18:11 2011 UTC revision 637 by ph10, Sun Jul 24 17:44:12 2011 UTC
# Line 1448  enum { Line 1448  enum {
1448    /* The assertions must come before BRA, CBRA, ONCE, and COND, and the four    /* The assertions must come before BRA, CBRA, ONCE, and COND, and the four
1449    asserts must remain in order. */    asserts must remain in order. */
1450    
1451    OP_ASSERT,         /* 118 Positive lookahead */    OP_REVERSE,        /* 118 Move pointer back - used in lookbehind assertions */
1452    OP_ASSERT_NOT,     /* 119 Negative lookahead */    OP_ASSERT,         /* 119 Positive lookahead */
1453    OP_ASSERTBACK,     /* 120 Positive lookbehind */    OP_ASSERT_NOT,     /* 120 Negative lookahead */
1454    OP_ASSERTBACK_NOT, /* 121 Negative lookbehind */    OP_ASSERTBACK,     /* 121 Positive lookbehind */
1455    OP_REVERSE,        /* 122 Move pointer back - used in lookbehind assertions */    OP_ASSERTBACK_NOT, /* 122 Negative lookbehind */
1456    
1457    /* ONCE, BRA, BRAPOS, CBRA, CBRAPOS, and COND must come after the assertions,    /* ONCE, BRA, BRAPOS, CBRA, CBRAPOS, and COND must come immediately after the
1458    with ONCE first, as there's a test for >= ONCE for a subpattern that isn't an    assertions, with ONCE first, as there's a test for >= ONCE for a subpattern
1459    assertion. The POS versions must immediately follow the non-POS versions in    that isn't an assertion. The POS versions must immediately follow the non-POS
1460    each case. */    versions in each case. */
1461    
1462    OP_ONCE,           /* 123 Atomic group */    OP_ONCE,           /* 123 Atomic group */
1463    OP_BRA,            /* 124 Start of non-capturing bracket */    OP_BRA,            /* 124 Start of non-capturing bracket */
# Line 1550  some cases doesn't actually use these na Line 1550  some cases doesn't actually use these na
1550    "class", "nclass", "xclass", "Ref", "Refi",                     \    "class", "nclass", "xclass", "Ref", "Refi",                     \
1551    "Recurse", "Callout",                                           \    "Recurse", "Callout",                                           \
1552    "Alt", "Ket", "KetRmax", "KetRmin", "KetRpos",                  \    "Alt", "Ket", "KetRmax", "KetRmin", "KetRpos",                  \
1553    "Assert", "Assert not", "AssertB", "AssertB not", "Reverse",    \    "Reverse", "Assert", "Assert not", "AssertB", "AssertB not",    \
1554    "Once",                                                         \    "Once",                                                         \
1555    "Bra", "BraPos", "CBra", "CBraPos",                             \    "Bra", "BraPos", "CBra", "CBraPos",                             \
1556    "Cond",                                                         \    "Cond",                                                         \
# Line 1619  in UTF-8 mode. The code that uses this t Line 1619  in UTF-8 mode. The code that uses this t
1619    1+LINK_SIZE,                   /* KetRmax                                */ \    1+LINK_SIZE,                   /* KetRmax                                */ \
1620    1+LINK_SIZE,                   /* KetRmin                                */ \    1+LINK_SIZE,                   /* KetRmin                                */ \
1621    1+LINK_SIZE,                   /* KetRpos                                */ \    1+LINK_SIZE,                   /* KetRpos                                */ \
1622      1+LINK_SIZE,                   /* Reverse                                */ \
1623    1+LINK_SIZE,                   /* Assert                                 */ \    1+LINK_SIZE,                   /* Assert                                 */ \
1624    1+LINK_SIZE,                   /* Assert not                             */ \    1+LINK_SIZE,                   /* Assert not                             */ \
1625    1+LINK_SIZE,                   /* Assert behind                          */ \    1+LINK_SIZE,                   /* Assert behind                          */ \
1626    1+LINK_SIZE,                   /* Assert behind not                      */ \    1+LINK_SIZE,                   /* Assert behind not                      */ \
   1+LINK_SIZE,                   /* Reverse                                */ \  
1627    1+LINK_SIZE,                   /* ONCE                                   */ \    1+LINK_SIZE,                   /* ONCE                                   */ \
1628    1+LINK_SIZE,                   /* BRA                                    */ \    1+LINK_SIZE,                   /* BRA                                    */ \
1629    1+LINK_SIZE,                   /* BRAPOS                                 */ \    1+LINK_SIZE,                   /* BRAPOS                                 */ \

Legend:
Removed from v.629  
changed lines
  Added in v.637

  ViewVC Help
Powered by ViewVC 1.1.5