chiark
/
gitweb
/
~ian
/
pcre3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Graham Inggs to add symbols support (Closes: #767374)
[pcre3.git]
/
pcrecpp.cc
diff --git
a/pcrecpp.cc
b/pcrecpp.cc
index c424e0925a3db43a9f666fd25d68d875365d7a25..1b8ebd294c53c1b14631d553365c5a4006b09993 100644
(file)
--- a/
pcrecpp.cc
+++ b/
pcrecpp.cc
@@
-517,7
+517,7
@@
int RE::TryMatch(const StringPiece& text,
return 0;
}
return 0;
}
- pcre_extra extra = { 0, 0, 0, 0, 0, 0 };
+ pcre_extra extra = { 0, 0, 0, 0, 0, 0
, 0, 0
};
if (options_.match_limit() > 0) {
extra.flags |= PCRE_EXTRA_MATCH_LIMIT;
extra.match_limit = options_.match_limit();
if (options_.match_limit() > 0) {
extra.flags |= PCRE_EXTRA_MATCH_LIMIT;
extra.match_limit = options_.match_limit();
@@
-666,6
+666,8
@@
int RE::NumberOfCapturingGroups() const {
/***** Parsers for various types *****/
bool Arg::parse_null(const char* str, int n, void* dest) {
/***** Parsers for various types *****/
bool Arg::parse_null(const char* str, int n, void* dest) {
+ (void)str;
+ (void)n;
// We fail if somebody asked us to store into a non-NULL void* pointer
return (dest == NULL);
}
// We fail if somebody asked us to store into a non-NULL void* pointer
return (dest == NULL);
}