"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pcrecpp.cc" between
pcre-8.43.tar.bz2 and pcre-8.44.tar.bz2

About: The PCRE library implements Perl compatible regular expression pattern matching.

pcrecpp.cc  (pcre-8.43.tar.bz2):pcrecpp.cc  (pcre-8.44.tar.bz2)
skipping to change at line 68 skipping to change at line 68
Arg RE::no_arg((void*)NULL); Arg RE::no_arg((void*)NULL);
// This is for ABI compatibility with old versions of pcre (pre-7.6), // This is for ABI compatibility with old versions of pcre (pre-7.6),
// which defined a global no_arg variable instead of putting it in the // which defined a global no_arg variable instead of putting it in the
// RE class. This works on GCC >= 3, at least. It definitely works // RE class. This works on GCC >= 3, at least. It definitely works
// for ELF, but may not for other object formats (Mach-O, for // for ELF, but may not for other object formats (Mach-O, for
// instance, does not support aliases.) We could probably have a more // instance, does not support aliases.) We could probably have a more
// inclusive test if we ever needed it. (Note that not only the // inclusive test if we ever needed it. (Note that not only the
// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are // __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
// gnu-specific.) // gnu-specific.)
#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) && !defined(__INTEL_C #if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) \
OMPILER) && !defined(__INTEL_COMPILER) && !defined(__LCC__)
# define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x) # define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
# define ULP_AS_STRING_INTERNAL(x) #x # define ULP_AS_STRING_INTERNAL(x) #x
# define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__) # define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__)
extern Arg no_arg extern Arg no_arg
__attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE"))); __attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE")));
#endif #endif
// If a regular expression has no error, its error_ field points here // If a regular expression has no error, its error_ field points here
static const string empty_string; static const string empty_string;
skipping to change at line 93 skipping to change at line 94
// below. (PH June 2018) // below. (PH June 2018)
static const char *start_options[] = { static const char *start_options[] = {
"(*UTF8)", "(*UTF8)",
"(*UTF)", "(*UTF)",
"(*UCP)", "(*UCP)",
"(*NO_START_OPT)", "(*NO_START_OPT)",
"(*NO_AUTO_POSSESS)", "(*NO_AUTO_POSSESS)",
"(*LIMIT_RECURSION=", "(*LIMIT_RECURSION=",
"(*LIMIT_MATCH=", "(*LIMIT_MATCH=",
"(*CRLF)", "(*CRLF)",
"(*LF)",
"(*CR)", "(*CR)",
"(*BSR_UNICODE)", "(*BSR_UNICODE)",
"(*BSR_ANYCRLF)", "(*BSR_ANYCRLF)",
"(*ANYCRLF)", "(*ANYCRLF)",
"(*ANY)", "(*ANY)",
"" }; "" };
void RE::Init(const string& pat, const RE_Options* options) { void RE::Init(const string& pat, const RE_Options* options) {
pattern_ = pat; pattern_ = pat;
if (options == NULL) { if (options == NULL) {
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)