fix parsing errors on heredocument not aborting
This commit is contained in:
parent
bc846bcc56
commit
e5d0cf819d
1 changed files with 1 additions and 0 deletions
|
|
@ -612,6 +612,7 @@ parse_context parse_heredocument(parse_context ctx)
|
||||||
parse_context newctx = make_context(ctx, j);
|
parse_context newctx = make_context(ctx, j);
|
||||||
newctx.size = ctx.i;
|
newctx.size = ctx.i;
|
||||||
auto pval = parse_arg(newctx , NULL, NULL);
|
auto pval = parse_arg(newctx , NULL, NULL);
|
||||||
|
ctx = pval.second;
|
||||||
ctx.here_document->here_document = pval.first;
|
ctx.here_document->here_document = pval.first;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue