aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
authorEly Alon <elyalon345@gmail.com>2025-04-28 22:03:20 +0300
committerEly Alon <elyalon345@gmail.com>2025-04-28 22:03:20 +0300
commit13566306d2134bf3d4790bb569af8c888908a97b (patch)
tree8d9f99e16452551365b98f907cf8473f43fc8063 /core/encoding
parentd463aba7d110d08ff9cfdecd66098c99c0747b78 (diff)
Fix typo in private function
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/json/tokenizer.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/encoding/json/tokenizer.odin b/core/encoding/json/tokenizer.odin
index e46d879a7..ad928b7d9 100644
--- a/core/encoding/json/tokenizer.odin
+++ b/core/encoding/json/tokenizer.odin
@@ -101,7 +101,7 @@ get_token :: proc(t: ^Tokenizer) -> (token: Token, err: Error) {
}
}
- scan_espace :: proc(t: ^Tokenizer) -> bool {
+ scan_escape :: proc(t: ^Tokenizer) -> bool {
switch t.r {
case '"', '\'', '\\', '/', 'b', 'n', 'r', 't', 'f':
next_rune(t)
@@ -310,7 +310,7 @@ get_token :: proc(t: ^Tokenizer) -> (token: Token, err: Error) {
break
}
if r == '\\' {
- scan_espace(t)
+ scan_escape(t)
}
}