41fddb4372
Upstream commit: Author: Herbert Xu <herbert@gondor.apana.org.au> Date: Thu Mar 15 18:27:30 2018 +0800 parser: Fix backquote support in here-document EOF mark Currently using backquotes in a here-document EOF mark is broken because dash tries to do command substitution on it. This patch fixes it by checking whether we're looking for an EOF mark during tokenisation. Reported-by: Harald van Dijk <harald@gigawatt.nl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> With added fix for quoted-ness of the EOF mark. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
heredoc1.right | ||
heredoc1.tests | ||
heredoc2.right | ||
heredoc2.tests | ||
heredoc3.right | ||
heredoc3.tests | ||
heredoc4.right | ||
heredoc4.tests | ||
heredoc5.right | ||
heredoc5.tests | ||
heredoc6.right | ||
heredoc6.tests | ||
heredoc7.right | ||
heredoc7.tests | ||
heredoc8.right | ||
heredoc8.tests | ||
heredoc9.right | ||
heredoc9.tests | ||
heredoc_backquote1.right | ||
heredoc_backquote1.tests | ||
heredoc_backslash1.right | ||
heredoc_backslash1.tests | ||
heredoc_bkslash_newline1.right | ||
heredoc_bkslash_newline1.tests | ||
heredoc_empty2.right | ||
heredoc_empty2.tests | ||
heredoc_empty.right | ||
heredoc_empty.tests | ||
heredoc_huge.right | ||
heredoc_huge.tests | ||
heredoc.right | ||
heredoc.tests |