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

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

Issue 10575037: Include RE2 library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Less intrusive fix for Android Created 8 years, 4 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
OLDNEW
(Empty)
1 diff -r 2d252384c5e8 re2/re2.cc
2 --- a/re2/re2.cc Mon Mar 05 14:20:36 2012 -0500
3 +++ b/re2/re2.cc Wed Jun 20 20:32:24 2012 +0200
4 @@ -40,7 +40,7 @@
5 // log errors
6 const RE2::Options RE2::DefaultOptions; // EncodingUTF8, false, false, true
7 const RE2::Options RE2::Latin1(RE2::Options::EncodingLatin1, false, false, true );
8 -const RE2::Options RE2::POSIX(RE2::Options::EncodingUTF8, true, true, true);
9 +//const RE2::Options RE2::POSIX(RE2::Options::EncodingUTF8, true, true, true);
10 const RE2::Options RE2::Quiet(RE2::Options::EncodingUTF8, false, false, false);
11
12 // If a regular expression has no error, its error_ field points here
13 diff -r 2d252384c5e8 re2/re2.h
14 --- a/re2/re2.h Mon Mar 05 14:20:36 2012 -0500
15 +++ b/re2/re2.h Wed Jun 20 20:32:24 2012 +0200
16 @@ -233,7 +233,7 @@
17 // RE2 constructor.
18 static const Options DefaultOptions;
19 static const Options Latin1; // treat input as Latin-1 (default UTF-8)
20 - static const Options POSIX; // POSIX syntax, leftmost-longest match
21 + //static const Options POSIX; // POSIX syntax, leftmost-longest match
22 static const Options Quiet; // do not log about regexp parse errors
23
24 // Need to have the const char* and const string& forms for implicit
OLDNEW
« no previous file with comments | « third_party/re2/patches/re2-msvc9-chrome.patch ('k') | third_party/re2/patches/remove-valgrind-code.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698