mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 20:00:09 +00:00
Core library clean up: Make range expressions more consistent and replace uses of .. with ..=
This commit is contained in:
@@ -85,9 +85,9 @@ is_delimiter :: proc(c: rune) -> bool {
|
||||
is_separator :: proc(r: rune) -> bool {
|
||||
if r <= 0x7f {
|
||||
switch r {
|
||||
case '0'..'9': return false;
|
||||
case 'a'..'z': return false;
|
||||
case 'A'..'Z': return false;
|
||||
case '0'..='9': return false;
|
||||
case 'a'..='z': return false;
|
||||
case 'A'..='Z': return false;
|
||||
case '_': return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user