fix parsing escaped subshells in heredocuments
This commit is contained in:
parent
3af1fc57fc
commit
be4c043a08
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ std::pair<arg*, parse_context> parse_arg(parse_context ctx, const char* end, con
|
||||||
{
|
{
|
||||||
ctx.i += 2;
|
ctx.i += 2;
|
||||||
}
|
}
|
||||||
else if(doquote && ctx[ctx.i]=='\\') // backslash: don't check next char
|
else if(ctx[ctx.i]=='\\') // backslash: don't check next char
|
||||||
{
|
{
|
||||||
ctx.i++;
|
ctx.i++;
|
||||||
if(ctx.i>=ctx.size)
|
if(ctx.i>=ctx.size)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue