Call finish_token when parsing SimpleValue

remotes/dev/pr-use-cbor-discriminator
Karchnu 2020-11-24 16:02:21 +01:00 committed by Alberto Restifo
parent 307c57879a
commit d5a8c0ef9d
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class CBOR::Decoder
finish_token! finish_token!
token.value token.value
when Token::SimpleValueT when Token::SimpleValueT
finish_token!
token.value.to_t token.value.to_t
when Token::ArrayT when Token::ArrayT
finish_token! finish_token!