summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/string/char_range.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/string/char_range.inc b/core/string/char_range.inc
index be5516e243..5dffe4f20d 100644
--- a/core/string/char_range.inc
+++ b/core/string/char_range.inc
@@ -38,7 +38,7 @@ struct CharRange {
char32_t end;
};
-static CharRange xid_start[] = {
+inline constexpr CharRange xid_start[] = {
{ 0x41, 0x5a },
{ 0x5f, 0x5f },
{ 0x61, 0x7a },
@@ -692,7 +692,7 @@ static CharRange xid_start[] = {
{ 0x0, 0x0 },
};
-static CharRange xid_continue[] = {
+inline constexpr CharRange xid_continue[] = {
{ 0x30, 0x39 },
{ 0x41, 0x5a },
{ 0x5f, 0x5f },