From 3d232e60058e3f0400ec8f4aab37ca9a04f46a66 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Wed, 18 Nov 2020 05:50:08 +0100 Subject: [PATCH] Fixes read_value SimpleValueT parsing: finish_token! is now called. --- src/cbor/decoder.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cbor/decoder.cr b/src/cbor/decoder.cr index ae567df..12ad40a 100644 --- a/src/cbor/decoder.cr +++ b/src/cbor/decoder.cr @@ -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!