/[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 794 by zherczeg, Thu Dec 8 07:36:41 2011 UTC revision 795 by zherczeg, Sat Dec 10 02:20:06 2011 UTC
# Line 832  are in a 16-bit flags word. From release Line 832  are in a 16-bit flags word. From release
832  the restrictions on partial matching have been lifted. It remains for backwards  the restrictions on partial matching have been lifted. It remains for backwards
833  compatibility. */  compatibility. */
834    
835  #define PCRE_NOPARTIAL     0x0001  /* can't use partial with this regex */  #ifdef COMPILE_PCRE8
836  #define PCRE_FIRSTSET      0x0002  /* first_char is set */  #define PCRE_MODE          0x0001  /* compiled in 8 bit mode */
837  #define PCRE_REQCHSET      0x0004  /* req_byte is set */  #endif
838  #define PCRE_STARTLINE     0x0008  /* start after \n for multiline */  #ifdef COMPILE_PCRE16
839  #define PCRE_JCHANGED      0x0010  /* j option used in regex */  #define PCRE_MODE          0x0002  /* compiled in 16 bit mode */
840  #define PCRE_HASCRORLF     0x0020  /* explicit \r or \n in pattern */  #endif
841  #define PCRE_HASTHEN       0x0040  /* pattern contains (*THEN) */  #define PCRE_FIRSTSET      0x0010  /* first_char is set */
842  #define PCRE_FCH_CASELESS  0x0080  /* caseless first char */  #define PCRE_FCH_CASELESS  0x0020  /* caseless first char */
843  #define PCRE_RCH_CASELESS  0x0100  /* caseless requested char */  #define PCRE_REQCHSET      0x0040  /* req_byte is set */
844    #define PCRE_RCH_CASELESS  0x0080  /* caseless requested char */
845    #define PCRE_STARTLINE     0x0100  /* start after \n for multiline */
846    #define PCRE_NOPARTIAL     0x0200  /* can't use partial with this regex */
847    #define PCRE_JCHANGED      0x0400  /* j option used in regex */
848    #define PCRE_HASCRORLF     0x0800  /* explicit \r or \n in pattern */
849    #define PCRE_HASTHEN       0x1000  /* pattern contains (*THEN) */
850    
851  /* Flags for the "extra" block produced by pcre_study(). */  /* Flags for the "extra" block produced by pcre_study(). */
852    
# Line 917  for) in a minority area (EBCDIC platform Line 923  for) in a minority area (EBCDIC platform
923  application that did need both could compile two versions of the library, using  application that did need both could compile two versions of the library, using
924  macros to give the functions distinct names. */  macros to give the functions distinct names. */
925    
926  #ifndef SUPPORT_UTF8  #ifndef SUPPORT_UTF
927    
928  /* UTF-8 support is not enabled; use the platform-dependent character literals  /* UTF-8 support is not enabled; use the platform-dependent character literals
929  so that PCRE works on both ASCII and EBCDIC platforms, in non-UTF-mode only. */  so that PCRE works on both ASCII and EBCDIC platforms, in non-UTF-mode only. */
# Line 1186  so that PCRE works on both ASCII and EBC Line 1192  so that PCRE works on both ASCII and EBC
1192  #define STRING_UCP_RIGHTPAR            "UCP)"  #define STRING_UCP_RIGHTPAR            "UCP)"
1193  #define STRING_NO_START_OPT_RIGHTPAR   "NO_START_OPT)"  #define STRING_NO_START_OPT_RIGHTPAR   "NO_START_OPT)"
1194    
1195  #else  /* SUPPORT_UTF8 */  #else  /* SUPPORT_UTF */
1196    
1197  /* UTF-8 support is enabled; always use UTF-8 (=ASCII) character codes. This  /* UTF-8 support is enabled; always use UTF-8 (=ASCII) character codes. This
1198  works in both modes non-EBCDIC platforms, and on EBCDIC platforms in UTF-8 mode  works in both modes non-EBCDIC platforms, and on EBCDIC platforms in UTF-8 mode
# Line 1446  only. */ Line 1452  only. */
1452  #define STRING_UCP_RIGHTPAR            STR_U STR_C STR_P STR_RIGHT_PARENTHESIS  #define STRING_UCP_RIGHTPAR            STR_U STR_C STR_P STR_RIGHT_PARENTHESIS
1453  #define STRING_NO_START_OPT_RIGHTPAR   STR_N STR_O STR_UNDERSCORE STR_S STR_T STR_A STR_R STR_T STR_UNDERSCORE STR_O STR_P STR_T STR_RIGHT_PARENTHESIS  #define STRING_NO_START_OPT_RIGHTPAR   STR_N STR_O STR_UNDERSCORE STR_S STR_T STR_A STR_R STR_T STR_UNDERSCORE STR_O STR_P STR_T STR_RIGHT_PARENTHESIS
1454    
1455  #endif  /* SUPPORT_UTF8 */  #endif  /* SUPPORT_UTF */
1456    
1457  /* Escape items that are just an encoding of a particular data value. */  /* Escape items that are just an encoding of a particular data value. */
1458    
# Line 2249  extern real_pcre        *PRIV(try_flippe Line 2255  extern real_pcre        *PRIV(try_flippe
2255  extern int               PRIV(valid_utf)(PCRE_PUCHAR, int, int *);  extern int               PRIV(valid_utf)(PCRE_PUCHAR, int, int *);
2256  extern BOOL              PRIV(was_newline)(PCRE_PUCHAR, int, PCRE_PUCHAR,  extern BOOL              PRIV(was_newline)(PCRE_PUCHAR, int, PCRE_PUCHAR,
2257                             int *, BOOL);                             int *, BOOL);
2258  extern BOOL              PRIV(xclass)(int, const pcre_uchar *);  extern BOOL              PRIV(xclass)(int, const pcre_uchar *, BOOL);
2259    
2260  #ifdef SUPPORT_JIT  #ifdef SUPPORT_JIT
2261  extern void              PRIV(jit_compile)(const real_pcre *, pcre_extra *);  extern void              PRIV(jit_compile)(const real_pcre *, pcre_extra *);

Legend:
Removed from v.794  
changed lines
  Added in v.795

  ViewVC Help
Powered by ViewVC 1.1.5