Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: third_party/re2/patches/rename-posix-option.patch

Issue 12033058: Updated to most recent version RE2 and remove upstreamed patches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/re2/patches/remove-valgrind-code.patch ('k') | third_party/re2/re2/dfa.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/third_party/re2/re2/re2.cc b/third_party/re2/re2/re2.cc 1 diff --git a/re2/re2.cc b/re2/re2.cc
2 index 6acd802..3cc3dd4 100644 2 index b9e44fc..fb43abf 100644
3 --- a/third_party/re2/re2/re2.cc 3 --- a/re2/re2.cc
4 +++ b/third_party/re2/re2/re2.cc 4 +++ b/re2/re2.cc
5 @@ -38,8 +38,8 @@ const int RE2::Options::kDefaultMaxMem; // initialized in re2 .h 5 @@ -56,8 +56,8 @@ RE2::Options::Options()
6 6
7 RE2::Options::Options(RE2::CannedOptions opt) 7 RE2::Options::Options(RE2::CannedOptions opt)
8 : encoding_(opt == RE2::Latin1 ? EncodingLatin1 : EncodingUTF8), 8 : encoding_(opt == RE2::Latin1 ? EncodingLatin1 : EncodingUTF8),
9 - posix_syntax_(opt == RE2::POSIX), 9 - posix_syntax_(opt == RE2::POSIX),
10 - longest_match_(opt == RE2::POSIX), 10 - longest_match_(opt == RE2::POSIX),
11 + posix_syntax_(opt == RE2::POSIX_SYNTAX), 11 + posix_syntax_(opt == RE2::POSIX_SYNTAX),
12 + longest_match_(opt == RE2::POSIX_SYNTAX), 12 + longest_match_(opt == RE2::POSIX_SYNTAX),
13 log_errors_(opt != RE2::Quiet), 13 log_errors_(opt != RE2::Quiet),
14 max_mem_(kDefaultMaxMem), 14 max_mem_(kDefaultMaxMem),
15 literal_(false), 15 literal_(false),
16 diff --git a/third_party/re2/re2/re2.h b/third_party/re2/re2/re2.h 16 diff --git a/re2/re2.h b/re2/re2.h
17 index 272028b..9f5b66d 100644 17 index c509853..98b06b8 100644
18 --- a/third_party/re2/re2/re2.h 18 --- a/re2/re2.h
19 +++ b/third_party/re2/re2/re2.h 19 +++ b/re2/re2.h
20 @@ -251,7 +251,7 @@ class RE2 { 20 @@ -251,7 +251,7 @@ class RE2 {
21 enum CannedOptions { 21 enum CannedOptions {
22 DefaultOptions = 0, 22 DefaultOptions = 0,
23 Latin1, // treat input as Latin-1 (default UTF-8) 23 Latin1, // treat input as Latin-1 (default UTF-8)
24 - POSIX, // POSIX syntax, leftmost-longest match 24 - POSIX, // POSIX syntax, leftmost-longest match
25 + POSIX_SYNTAX, // POSIX syntax, leftmost-longest match 25 + POSIX_SYNTAX, // POSIX syntax, leftmost-longest match
26 Quiet // do not log about regexp parse errors 26 Quiet // do not log about regexp parse errors
27 }; 27 };
28 28
OLDNEW
« no previous file with comments | « third_party/re2/patches/remove-valgrind-code.patch ('k') | third_party/re2/re2/dfa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698