From 6acd1d260f3d210d86f177d8905b70da692822d4 Mon Sep 17 00:00:00 2001 From: Ludovic 'Archivist' Lagouardette Date: Mon, 27 May 2024 10:50:51 +0200 Subject: [PATCH] Fixed the array delimiter not being cleared (off by 1 error) --- lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.c b/lib.c index 210ee3a..49a2289 100644 --- a/lib.c +++ b/lib.c @@ -1643,6 +1643,8 @@ static void push_delimited_array(struct context* ctx) { while(counter--) { ink_pop(ctx); } + /* Pop the marker too */ + ink_pop(ctx); /* Put value in place */ ink_push(ctx, a); }