fix parsing stopping after heredocument

This commit is contained in:
zawz 2021-06-23 15:52:41 +02:00
parent ca2839ec9c
commit f80594d292

View file

@ -612,7 +612,7 @@ parse_context parse_heredocument(parse_context ctx)
parse_context newctx = make_context(ctx, j);
newctx.size = ctx.i;
auto pval = parse_arg(newctx , NULL, NULL);
ctx = pval.second;
ctx.i = pval.second.i;
ctx.here_document->here_document = pval.first;
//