Fix minor issue with unmarshal for booleans

This commit is contained in:
gingerBill
2021-11-13 19:07:16 +00:00
parent 5cb23725ae
commit a75dc9d86d

View File

@@ -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
}