update parse.c

This commit is contained in:
Calvin Rose 2020-01-12 22:43:39 -06:00
parent f709d7eb40
commit 04579664fd
1 changed files with 1 additions and 0 deletions

View File

@ -796,6 +796,7 @@ static Janet cfun_parse_insert(int32_t argc, Janet *argv) {
p->column--;
s = p->states + p->statecount - 1;
}
if (s->flags & PFLAG_COMMENT) s--;
if (s->flags & PFLAG_CONTAINER) {
s->argn++;
if (p->statecount == 1) p->pending++;