fix parsing stopping after heredocument
This commit is contained in:
parent
ca2839ec9c
commit
f80594d292
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +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.i = pval.second.i;
|
||||||
ctx.here_document->here_document = pval.first;
|
ctx.here_document->here_document = pval.first;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue