summary refs log tree commit diff
path: root/src/var.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-05-19 02:39:42 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-05-28 17:12:22 +0800
commit51e2d88d6e513150a76c007111bbee21bb922c33 (patch)
tree60ee31ba201a5cd1fc7cfa73663814fc6e171726 /src/var.c
parentjobs: Only clear gotsigchld when waiting for everything (diff)
downloaddash-51e2d88d6e513150a76c007111bbee21bb922c33.tar.gz
dash-51e2d88d6e513150a76c007111bbee21bb922c33.zip
parser: Save/restore here-documents in command substitution
This patch changes the parsing of here-documents within command
substitution, both old style and new style.  In particular, the
original here-document list is saved upon the beginning of parsing
command substitution and restored when exiting.

This means that here-documents outside of command substitution
can no longer be filled by text within it and vice-versa.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/var.c')
0 files changed, 0 insertions, 0 deletions