aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-11-13 19:07:16 +0000
committergingerBill <bill@gingerbill.org>2021-11-13 19:07:16 +0000
commita75dc9d86d25a061bec0bfe79b2d8ce45e0c1357 (patch)
tree16fa690264b9713b86735212dd1c2af4b0d16649 /core/encoding
parent5cb23725ae64731242e8d425958b0bf4dacf6025 (diff)
Fix minor issue with unmarshal for booleans
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/json/unmarshal.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/encoding/json/unmarshal.odin b/core/encoding/json/unmarshal.odin
index 23518d8d0..fe3137b7e 100644
--- a/core/encoding/json/unmarshal.odin
+++ b/core/encoding/json/unmarshal.odin
@@ -222,6 +222,7 @@ unmarsal_value :: proc(p: ^Parser, v: any) -> (err: Unmarshal_Error) {
advance_token(p)
return
case .False, .True:
+ advance_token(p)
if assign_bool(v, token.kind == .True) {
return
}