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

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

Issue 1516543002: Update re2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated update instructions 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 f91c51f5d89c06252ddc6576cd50e26278fe01d0..fc1c2534d6799ca76a61ba14fc7eff898acf40b5 100644
--- a/third_party/re2/re2/unicode_groups.h
+++ b/third_party/re2/re2/unicode_groups.h
@@ -30,34 +30,34 @@ struct URange16
struct URange32
{
- uint32 lo;
- uint32 hi;
+ Rune lo;
+ Rune hi;
};
struct UGroup
{
const char *name;
int sign; // +1 for [abc], -1 for [^abc]
- URange16 *r16;
+ const URange16 *r16;
int nr16;
- URange32 *r32;
+ const URange32 *r32;
int nr32;
};
// Named by property or script name (e.g., "Nd", "N", "Han").
// Negated groups are not included.
-extern UGroup unicode_groups[];
-extern int num_unicode_groups;
+extern const UGroup unicode_groups[];
+extern const int num_unicode_groups;
// Named by POSIX name (e.g., "[:alpha:]", "[:^lower:]").
// Negated groups are included.
-extern UGroup posix_groups[];
-extern int num_posix_groups;
+extern const UGroup posix_groups[];
+extern const int num_posix_groups;
// Named by Perl name (e.g., "\\d", "\\D").
// Negated groups are included.
-extern UGroup perl_groups[];
-extern int num_perl_groups;
+extern const UGroup perl_groups[];
+extern const 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