/[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 1111 by chpe, Tue Oct 16 15:57:05 2012 UTC revision 1128 by chpe, Thu Oct 18 18:35:08 2012 UTC
# Line 914  code. */ Line 914  code. */
914    
915  #elif defined COMPILE_PCRE32  #elif defined COMPILE_PCRE32
916    
917  /* These are unnecessary for the 32-bit library */  /* These are trivial for the 32-bit library, since all UTF-32 characters fit
918  #undef MAX_VALUE_FOR_SINGLE_CHAR  into one pcre_uchar unit. */
919  #undef HAS_EXTRALEN  #define MAX_VALUE_FOR_SINGLE_CHAR (0x10ffffu)
920  #undef GET_EXTRALEN  #define HAS_EXTRALEN(c) (0)
921  #undef NOT_FIRSTCHAR  #define GET_EXTRALEN(c) (0)
922    #define NOT_FIRSTCHAR(c) (0)
923    
924  #define UTF32_MASK (0x1ffffful)  #define UTF32_MASK (0x1fffffu)
925    
926  /* Get the next UTF-32 character, not advancing the pointer. This is called when  /* Get the next UTF-32 character, not advancing the pointer. This is called when
927  we know we are in UTF-32 mode. */  we know we are in UTF-32 mode. */
# Line 989  pointer. */ Line 990  pointer. */
990  /* If the pointer is not at the start of a character, move it back until  /* If the pointer is not at the start of a character, move it back until
991  it is. This is called only in UTF-32 mode - we don't put a test within the  it is. This is called only in UTF-32 mode - we don't put a test within the
992  macro because almost all calls are already within a block of UTF-32 only  macro because almost all calls are already within a block of UTF-32 only
993  code. */  code.
994    These are all no-ops since all UTF-32 characters fit into one pcre_uchar. */
995    
996  #define BACKCHAR(eptr) do { } while (0)  #define BACKCHAR(eptr) do { } while (0)
997    
# Line 2709  extern const pcre_uint32 PRIV(ucd_casele Line 2711  extern const pcre_uint32 PRIV(ucd_casele
2711  extern const ucd_record  PRIV(ucd_records)[];  extern const ucd_record  PRIV(ucd_records)[];
2712  extern const pcre_uint8  PRIV(ucd_stage1)[];  extern const pcre_uint8  PRIV(ucd_stage1)[];
2713  extern const pcre_uint16 PRIV(ucd_stage2)[];  extern const pcre_uint16 PRIV(ucd_stage2)[];
2714  extern const int         PRIV(ucp_gentype)[];  extern const pcre_uint32 PRIV(ucp_gentype)[];
2715  extern const pcre_uint32 PRIV(ucp_gbtable)[];  extern const pcre_uint32 PRIV(ucp_gbtable)[];
2716  #ifdef SUPPORT_JIT  #ifdef SUPPORT_JIT
2717  extern const int         PRIV(ucp_typerange)[];  extern const int         PRIV(ucp_typerange)[];

Legend:
Removed from v.1111  
changed lines
  Added in v.1128

  ViewVC Help
Powered by ViewVC 1.1.5