fix parsing errors on heredocument not aborting

This commit is contained in:
zawz 2021-06-22 10:44:38 +02:00
parent bc846bcc56
commit e5d0cf819d

View file

@ -612,6 +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.here_document->here_document = pval.first;
//