Browse Source

Fixed the array delimiter not being cleared (off by 1 error)

main
Ludovic 'Archivist' Lagouardette 6 months ago
parent
commit
6acd1d260f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib.c

+ 2
- 0
lib.c View File

@ -1643,6 +1643,8 @@ static void push_delimited_array(struct context* ctx) {
while(counter--) { while(counter--) {
ink_pop(ctx); ink_pop(ctx);
} }
/* Pop the marker too */
ink_pop(ctx);
/* Put value in place */ /* Put value in place */
ink_push(ctx, a); ink_push(ctx, a);
} }

Loading…
Cancel
Save