Message ID | 20190329054959.ins4palb4esuyur2@gondor.apana.org.au (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | parser: Fix old-style command substitution here-document crash | expand |
diff --git a/src/parser.c b/src/parser.c index 1f9e8ec..4bda42e 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1451,9 +1451,9 @@ done: if (readtoken() != TRP) synexpect(TRP); setinputstring(nullstr); - parseheredoc(); } + parseheredoc(); heredoclist = saveheredoclist; (*nlpp)->n = n;