Fixes read_value SimpleValueT parsing: finish_token! is now called.
parent
f45fb927f4
commit
3d232e6005
|
@ -30,6 +30,7 @@ class CBOR::Decoder
|
|||
finish_token!
|
||||
token.value
|
||||
when Token::SimpleValueT
|
||||
finish_token!
|
||||
token.value.to_t
|
||||
when Token::ArrayT
|
||||
finish_token!
|
||||
|
|
Loading…
Reference in New Issue