/[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 1380 by ph10, Tue Oct 15 16:49:12 2013 UTC revision 1394 by ph10, Sat Nov 9 09:17:20 2013 UTC
# Line 1855  only. */ Line 1855  only. */
1855  #define PT_UCNC      10    /* Universal Character nameable character */  #define PT_UCNC      10    /* Universal Character nameable character */
1856  #define PT_TABSIZE   11    /* Size of square table for autopossessify tests */  #define PT_TABSIZE   11    /* Size of square table for autopossessify tests */
1857    
1858    /* The following special properties are used only in XCLASS items, when POSIX
1859    classes are specified and PCRE_UCP is set - in other words, for Unicode
1860    handling of these classes. They are not available via the \p or \P escapes like
1861    those in the above list, and so they do not take part in the autopossessifying
1862    table. */
1863    
1864    #define PT_PXGRAPH   11    /* [:graph:] - characters that mark the paper */
1865    #define PT_PXPRINT   12    /* [:print:] - [:graph:] plus non-control spaces */
1866    #define PT_PXPUNCT   13    /* [:punct:] - punctuation characters */
1867    
1868  /* Flag bits and data types for the extended class (OP_XCLASS) for classes that  /* Flag bits and data types for the extended class (OP_XCLASS) for classes that
1869  contain characters with values greater than 255. */  contain characters with values greater than 255. */
1870    
# Line 1868  contain characters with values greater t Line 1878  contain characters with values greater t
1878  #define XCL_NOTPROP   4    /* Unicode inverted property (ditto) */  #define XCL_NOTPROP   4    /* Unicode inverted property (ditto) */
1879    
1880  /* These are escaped items that aren't just an encoding of a particular data  /* These are escaped items that aren't just an encoding of a particular data
1881  value such as \n. They must have non-zero values, as check_escape() returns  value such as \n. They must have non-zero values, as check_escape() returns 0
1882  0 for a data character.  Also, they must appear in the same order as in the opcode  for a data character.  Also, they must appear in the same order as in the
1883  definitions below, up to ESC_z. There's a dummy for OP_ALLANY because it  opcode definitions below, up to ESC_z. There's a dummy for OP_ALLANY because it
1884  corresponds to "." in DOTALL mode rather than an escape sequence. It is also  corresponds to "." in DOTALL mode rather than an escape sequence. It is also
1885  used for [^] in JavaScript compatibility mode, and for \C in non-utf mode. In  used for [^] in JavaScript compatibility mode, and for \C in non-utf mode. In
1886  non-DOTALL mode, "." behaves like \N.  non-DOTALL mode, "." behaves like \N.
# Line 2325  enum { ERR0,  ERR1,  ERR2,  ERR3,  ERR4, Line 2335  enum { ERR0,  ERR1,  ERR2,  ERR3,  ERR4,
2335         ERR50, ERR51, ERR52, ERR53, ERR54, ERR55, ERR56, ERR57, ERR58, ERR59,         ERR50, ERR51, ERR52, ERR53, ERR54, ERR55, ERR56, ERR57, ERR58, ERR59,
2336         ERR60, ERR61, ERR62, ERR63, ERR64, ERR65, ERR66, ERR67, ERR68, ERR69,         ERR60, ERR61, ERR62, ERR63, ERR64, ERR65, ERR66, ERR67, ERR68, ERR69,
2337         ERR70, ERR71, ERR72, ERR73, ERR74, ERR75, ERR76, ERR77, ERR78, ERR79,         ERR70, ERR71, ERR72, ERR73, ERR74, ERR75, ERR76, ERR77, ERR78, ERR79,
2338         ERR80, ERR81, ERRCOUNT };         ERR80, ERR81, ERR82, ERR83, ERR84, ERRCOUNT };
2339    
2340  /* JIT compiling modes. The function list is indexed by them. */  /* JIT compiling modes. The function list is indexed by them. */
2341    
2342  enum { JIT_COMPILE, JIT_PARTIAL_SOFT_COMPILE, JIT_PARTIAL_HARD_COMPILE,  enum { JIT_COMPILE, JIT_PARTIAL_SOFT_COMPILE, JIT_PARTIAL_HARD_COMPILE,
2343         JIT_NUMBER_OF_COMPILE_MODES };         JIT_NUMBER_OF_COMPILE_MODES };
2344    
# Line 2480  typedef struct compile_data { Line 2491  typedef struct compile_data {
2491    int  top_backref;                 /* Maximum back reference */    int  top_backref;                 /* Maximum back reference */
2492    unsigned int backref_map;         /* Bitmap of low back refs */    unsigned int backref_map;         /* Bitmap of low back refs */
2493    unsigned int namedrefcount;       /* Number of backreferences by name */    unsigned int namedrefcount;       /* Number of backreferences by name */
2494      int  parens_depth;                /* Depth of nested parentheses */
2495    int  assert_depth;                /* Depth of nested assertions */    int  assert_depth;                /* Depth of nested assertions */
2496    pcre_uint32 external_options;     /* External (initial) options */    pcre_uint32 external_options;     /* External (initial) options */
2497    pcre_uint32 external_flags;       /* External flag bits to be set */    pcre_uint32 external_flags;       /* External flag bits to be set */

Legend:
Removed from v.1380  
changed lines
  Added in v.1394

  ViewVC Help
Powered by ViewVC 1.1.5