From d5a8c0ef9d81d6249ed6de1a2709afa0239a1b5f Mon Sep 17 00:00:00 2001 From: Karchnu Date: Tue, 24 Nov 2020 16:02:21 +0100 Subject: [PATCH] Call finish_token when parsing SimpleValue --- src/cbor/decoder.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cbor/decoder.cr b/src/cbor/decoder.cr index 66ba0f7..510fb45 100644 --- a/src/cbor/decoder.cr +++ b/src/cbor/decoder.cr @@ -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!