regex.h | regex.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
#ifdef TRE_USE_SYSTEM_REGEX_H | #ifdef TRE_USE_SYSTEM_REGEX_H | |||
#ifndef REG_OK | #ifndef REG_OK | |||
#define REG_OK 0 | #define REG_OK 0 | |||
#endif /* !REG_OK */ | #endif /* !REG_OK */ | |||
#ifndef HAVE_REG_ERRCODE_T | #ifndef HAVE_REG_ERRCODE_T | |||
typedef int reg_errcode_t; | typedef int reg_errcode_t; | |||
#endif /* !HAVE_REG_ERRCODE_T */ | #endif /* !HAVE_REG_ERRCODE_T */ | |||
#if !defined(REG_NOSPEC) && !defined(REG_LITERAL) | ||||
#define REG_LITERAL 0x1000 | ||||
#endif | ||||
/* Extra regcomp() flags. */ | /* Extra regcomp() flags. */ | |||
#define REG_LITERAL 0x1000 | ||||
#define REG_RIGHT_ASSOC (REG_LITERAL << 1) | #define REG_RIGHT_ASSOC (REG_LITERAL << 1) | |||
/* Extra regexec() flags. */ | /* Extra regexec() flags. */ | |||
#define REG_APPROX_MATCHER 0x1000 | #define REG_APPROX_MATCHER 0x1000 | |||
#define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) | #define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) | |||
#else /* !TRE_USE_SYSTEM_REGEX_H */ | #else /* !TRE_USE_SYSTEM_REGEX_H */ | |||
/* If the we're not using system regex.h, we need to define the | /* If the we're not using system regex.h, we need to define the | |||
structs and enums ourselves. */ | structs and enums ourselves. */ | |||
skipping to change at line 119 | skipping to change at line 122 | |||
#define REG_NOTBOL 1 | #define REG_NOTBOL 1 | |||
#define REG_NOTEOL (REG_NOTBOL << 1) | #define REG_NOTEOL (REG_NOTBOL << 1) | |||
/* Extra regexec() flags. */ | /* Extra regexec() flags. */ | |||
#define REG_APPROX_MATCHER (REG_NOTEOL << 1) | #define REG_APPROX_MATCHER (REG_NOTEOL << 1) | |||
#define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) | #define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1) | |||
#endif /* !TRE_USE_SYSTEM_REGEX_H */ | #endif /* !TRE_USE_SYSTEM_REGEX_H */ | |||
/* REG_NOSPEC and REG_LITERAL mean the same thing. */ | /* REG_NOSPEC and REG_LITERAL mean the same thing. */ | |||
#if defined(REG_LITERAL) | #ifdef REG_LITERAL | |||
#define REG_NOSPEC REG_LITERAL | #define REG_NOSPEC REG_LITERAL | |||
#elif defined(REG_NOSPEC) | #elif defined(REG_NOSPEC) | |||
#define REG_LITERAL REG_NOSPEC | #define REG_LITERAL REG_NOSPEC | |||
#endif /* defined(REG_NOSPEC) */ | #endif /* defined(REG_NOSPEC) */ | |||
/* The maximum number of iterations in a bound expression. */ | /* The maximum number of iterations in a bound expression. */ | |||
#undef RE_DUP_MAX | #undef RE_DUP_MAX | |||
#define RE_DUP_MAX 255 | #define RE_DUP_MAX 255 | |||
/* The POSIX.2 regexp functions */ | /* The POSIX.2 regexp functions */ | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 5 lines changed or added | |||
tre-config.h | tre-config.h | |||
---|---|---|---|---|
/* lib/tre-config.h. Generated by configure. */ | /* lib/tre-config.h. Generated by configure. */ | |||
/* tre-config.h.in. This file defines all compile time definitions | /* tre-config.h.in. This file has all definitions that are needed in | |||
that are needed in `regex.h'. */ | `regex.h'. Note that this file must contain only the bare minimum | |||
of definitions without the TRE_ prefix to avoid conflicts between | ||||
definitions here and definitions included from somewhere else. */ | ||||
/* Define to 1 if you have the <libutf8.h> header file. */ | /* Define to 1 if you have the <libutf8.h> header file. */ | |||
/* #undef HAVE_LIBUTF8_H */ | /* #undef HAVE_LIBUTF8_H */ | |||
/* Define to 1 if the system has the type `reg_errcode_t'. */ | /* Define to 1 if the system has the type `reg_errcode_t'. */ | |||
/* #undef HAVE_REG_ERRCODE_T */ | /* #undef HAVE_REG_ERRCODE_T */ | |||
/* Define to 1 if you have the <sys/types.h> header file. */ | /* Define to 1 if you have the <sys/types.h> header file. */ | |||
#define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | |||
skipping to change at line 33 | skipping to change at line 35 | |||
/* Define to the absolute path to the system regex.h */ | /* Define to the absolute path to the system regex.h */ | |||
/* #undef TRE_SYSTEM_REGEX_H_PATH */ | /* #undef TRE_SYSTEM_REGEX_H_PATH */ | |||
/* Define to include the system regex.h from TRE regex.h */ | /* Define to include the system regex.h from TRE regex.h */ | |||
/* #undef TRE_USE_SYSTEM_REGEX_H */ | /* #undef TRE_USE_SYSTEM_REGEX_H */ | |||
/* Define to enable wide character (wchar_t) support. */ | /* Define to enable wide character (wchar_t) support. */ | |||
#define TRE_WCHAR 1 | #define TRE_WCHAR 1 | |||
/* TRE version string. */ | /* TRE version string. */ | |||
#define TRE_VERSION "0.7.0" | #define TRE_VERSION "0.7.1" | |||
/* TRE version level 1. */ | /* TRE version level 1. */ | |||
#define TRE_VERSION_1 0 | #define TRE_VERSION_1 0 | |||
/* TRE version level 2. */ | /* TRE version level 2. */ | |||
#define TRE_VERSION_2 7 | #define TRE_VERSION_2 7 | |||
/* TRE version level 3. */ | /* TRE version level 3. */ | |||
#define TRE_VERSION_3 0 | #define TRE_VERSION_3 1 | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||