mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-02 19:14:42 +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)
|
||||
return
|
||||
case .False, .True:
|
||||
advance_token(p)
|
||||
if assign_bool(v, token.kind == .True) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user