mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix minor issue with unmarshal for booleans
This commit is contained in:
@@ -222,6 +222,7 @@ unmarsal_value :: proc(p: ^Parser, v: any) -> (err: Unmarshal_Error) {
|
|||||||
advance_token(p)
|
advance_token(p)
|
||||||
return
|
return
|
||||||
case .False, .True:
|
case .False, .True:
|
||||||
|
advance_token(p)
|
||||||
if assign_bool(v, token.kind == .True) {
|
if assign_bool(v, token.kind == .True) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user