aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/xml
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-06-01 11:08:19 +0100
committergingerBill <bill@gingerbill.org>2022-06-01 11:08:19 +0100
commitba5f7c4e2af5c82c220b7e1796fde2f026ce4208 (patch)
treea91367884bb05eb3f5fe7a476b5e0b5ece497f28 /core/encoding/xml
parent487bd3d9424479ffe3fb2638077232dbccafa0cf (diff)
Deprecate `a..b` based ranges in favour of `..=`dev-2022-06
Diffstat (limited to 'core/encoding/xml')
-rw-r--r--core/encoding/xml/tokenizer.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/xml/tokenizer.odin b/core/encoding/xml/tokenizer.odin
index c3fece76e..d225c5d90 100644
--- a/core/encoding/xml/tokenizer.odin
+++ b/core/encoding/xml/tokenizer.odin
@@ -198,7 +198,7 @@ is_valid_identifier_rune :: proc(r: rune) -> bool {
switch r {
case '_', '-', ':': return true
case 'A'..='Z', 'a'..='z': return true
- case '0'..'9': return true
+ case '0'..='9': return true
case -1: return false
}
}