From 913883f31adeb01cf3f14deeef827bc87b04f5c2 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 6 Apr 2018 08:55:23 +0000 Subject: [PATCH] fixed an issume of producing a wrong closing bracket for a dictionary objecT --- lib/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/print.c b/lib/print.c index fb63630..ba59934 100644 --- a/lib/print.c +++ b/lib/print.c @@ -704,7 +704,7 @@ done: goto resume_dic; case PRINT_STACK_DIC_END: - if (outbfmt(hcl, mask, closing_parens[HCL_CONCODE_BYTEARRAY][json]) <= -1) return -1; + if (outbfmt(hcl, mask, closing_parens[HCL_CONCODE_DIC][json]) <= -1) return -1; break; default: