/[pcre]/code/branches/pcre16/pcre_internal.h
ViewVC logotype

Diff of /code/branches/pcre16/pcre_internal.h

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

revision 483 by ph10, Mon Jan 4 16:19:17 2010 UTC revision 494 by ph10, Tue Mar 2 11:53:12 2010 UTC
# Line 184  preprocessor time in standard C environm Line 184  preprocessor time in standard C environm
184    #error Cannot determine a type for 32-bit unsigned integers    #error Cannot determine a type for 32-bit unsigned integers
185  #endif  #endif
186    
187  /* When checking for integer overflow in pcre_compile(), we need to handle  /* When checking for integer overflow in pcre_compile(), we need to handle
188  large integers. If a 64-bit integer type is available, we can use that.  large integers. If a 64-bit integer type is available, we can use that.
189  Otherwise we have to cast to double, which of course requires floating point  Otherwise we have to cast to double, which of course requires floating point
190  arithmetic. Handle this by defining a macro for the appropriate type. If  arithmetic. Handle this by defining a macro for the appropriate type. If
191  stdint.h is available, include it; it may define INT64_MAX. The macro int64_t  stdint.h is available, include it; it may define INT64_MAX. Systems that do not
192  may be set by "configure". */  have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
193    by "configure". */
194    
195  #if HAVE_STDINT_H  #if HAVE_STDINT_H
196  #include <stdint.h>  #include <stdint.h>
197    #elif HAVE_INTTYPES_H
198    #include <inttypes.h>
199  #endif  #endif
200    
201  #if defined INT64_MAX || defined int64_t  #if defined INT64_MAX || defined int64_t
# Line 1551  typedef struct pcre_study_data { Line 1554  typedef struct pcre_study_data {
1554    
1555  /* Structure for building a chain of open capturing subpatterns during  /* Structure for building a chain of open capturing subpatterns during
1556  compiling, so that instructions to close them can be compiled when (*ACCEPT) is  compiling, so that instructions to close them can be compiled when (*ACCEPT) is
1557  encountered. */  encountered. This is also used to identify subpatterns that contain recursive
1558    back references to themselves, so that they can be made atomic. */
1559    
1560  typedef struct open_capitem {  typedef struct open_capitem {
1561    struct open_capitem *next;    /* Chain link */    struct open_capitem *next;    /* Chain link */
1562    pcre_uint16 number;           /* Capture number */    pcre_uint16 number;           /* Capture number */
1563      pcre_uint16 flag;             /* Set TRUE if recursive back ref */
1564  } open_capitem;  } open_capitem;
1565    
1566  /* Structure for passing "static" information around between the functions  /* Structure for passing "static" information around between the functions

Legend:
Removed from v.483  
changed lines
  Added in v.494

  ViewVC Help
Powered by ViewVC 1.1.5