This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
ink
Watch
1
Star
0
Fork
0
Code
Issues
4
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixed the array delimiter not being cleared (off by 1 error)
main
Ludovic 'Archivist' Lagouardette
6 months ago
parent
7851949aeb
commit
6acd1d260f
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
;
}
}
Write
Preview
Loading…
Cancel
Save