/[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 1141 by ph10, Fri Oct 19 15:44:19 2012 UTC revision 1143 by ph10, Fri Oct 19 16:14:27 2012 UTC
# Line 523  capturing parenthesis numbers in back re Line 523  capturing parenthesis numbers in back re
523  #define PUT2(a,n,d)   \  #define PUT2(a,n,d)   \
524    a[n] = (d) >> 8; \    a[n] = (d) >> 8; \
525    a[(n)+1] = (d) & 255    a[(n)+1] = (d) & 255
526    
527    /* For reasons that I do not understand, the expression in this GET2 macro is
528    treated by gcc as a signed expression, even when a is declared as unsigned. It
529    seems that any kind of arithmetic results in a signed value. */
530    
531  #define GET2(a,n) \  #define GET2(a,n) \
532    (((a)[n] << 8) | (a)[(n)+1])    (unsigned int)(((a)[n] << 8) | (a)[(n)+1])
533    
534  #elif defined COMPILE_PCRE16  #elif defined COMPILE_PCRE16
535    
# Line 2394  typedef struct compile_data { Line 2398  typedef struct compile_data {
2398    int  names_found;                 /* Number of entries so far */    int  names_found;                 /* Number of entries so far */
2399    int  name_entry_size;             /* Size of each entry */    int  name_entry_size;             /* Size of each entry */
2400    int  workspace_size;              /* Size of workspace */    int  workspace_size;              /* Size of workspace */
2401    int  bracount;                    /* Count of capturing parens as we compile */    unsigned int  bracount;           /* Count of capturing parens as we compile */
2402    int  final_bracount;              /* Saved value after first pass */    int  final_bracount;              /* Saved value after first pass */
2403    int  max_lookbehind;              /* Maximum lookbehind (characters) */    int  max_lookbehind;              /* Maximum lookbehind (characters) */
2404    int  top_backref;                 /* Maximum back reference */    int  top_backref;                 /* Maximum back reference */

Legend:
Removed from v.1141  
changed lines
  Added in v.1143

  ViewVC Help
Powered by ViewVC 1.1.5