mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
Begin optimizing tokenizer; Replace gb_utf8_decode with utf8_decode (CC but easier to change later)
This commit is contained in:
@@ -317,7 +317,7 @@ ExactValue exact_value_from_basic_literal(Token token) {
|
||||
}
|
||||
case Token_Rune: {
|
||||
Rune r = GB_RUNE_INVALID;
|
||||
gb_utf8_decode(token.string.text, token.string.len, &r);
|
||||
utf8_decode(token.string.text, token.string.len, &r);
|
||||
return exact_value_i64(r);
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user