Call finish_token when parsing SimpleValue
parent
307c57879a
commit
d5a8c0ef9d
|
@ -25,6 +25,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