diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-15 18:27:30 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-22 00:29:58 +0800 |
commit | c166b718b496da63c4df7a0972df2fc6cd38256b (patch) | |
tree | 4e2b4a4ad7ce9b0fb2e5cc137dc583a016bdf076 /src/funcs/popd | |
parent | shell: provide .gitignore (diff) | |
download | dash-c166b718b496da63c4df7a0972df2fc6cd38256b.tar.gz dash-c166b718b496da63c4df7a0972df2fc6cd38256b.zip |
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>
Diffstat (limited to 'src/funcs/popd')
0 files changed, 0 insertions, 0 deletions