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

Unified Diff: third_party/re2/re2/unicode_groups.h

Issue 1530113002: Revert of Update re2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/re2/re2/unicode_casefold.cc ('k') | third_party/re2/re2/unicode_groups.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/re2/unicode_groups.h
diff --git a/third_party/re2/re2/unicode_groups.h b/third_party/re2/re2/unicode_groups.h
index fc1c2534d6799ca76a61ba14fc7eff898acf40b5..f91c51f5d89c06252ddc6576cd50e26278fe01d0 100644
--- a/third_party/re2/re2/unicode_groups.h
+++ b/third_party/re2/re2/unicode_groups.h
@@ -30,34 +30,34 @@
struct URange32
{
- Rune lo;
- Rune hi;
+ uint32 lo;
+ uint32 hi;
};
struct UGroup
{
const char *name;
int sign; // +1 for [abc], -1 for [^abc]
- const URange16 *r16;
+ URange16 *r16;
int nr16;
- const URange32 *r32;
+ URange32 *r32;
int nr32;
};
// Named by property or script name (e.g., "Nd", "N", "Han").
// Negated groups are not included.
-extern const UGroup unicode_groups[];
-extern const int num_unicode_groups;
+extern UGroup unicode_groups[];
+extern int num_unicode_groups;
// Named by POSIX name (e.g., "[:alpha:]", "[:^lower:]").
// Negated groups are included.
-extern const UGroup posix_groups[];
-extern const int num_posix_groups;
+extern UGroup posix_groups[];
+extern int num_posix_groups;
// Named by Perl name (e.g., "\\d", "\\D").
// Negated groups are included.
-extern const UGroup perl_groups[];
-extern const int num_perl_groups;
+extern UGroup perl_groups[];
+extern int num_perl_groups;
} // namespace re2
« no previous file with comments | « third_party/re2/re2/unicode_casefold.cc ('k') | third_party/re2/re2/unicode_groups.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698