about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-08-27 07:31:37 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-08-27 07:31:37 +0000
commitbc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b (patch)
tree3cc06b882505bf92dca190db1bdf784ebe226e80 /Src
parent9188b23b2495814575bd9a7d1397c02c2dfc67dd (diff)
downloadzsh-bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b.tar.gz
zsh-bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b.tar.xz
zsh-bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b.zip
Fix PS2 for dquote nested in braceparam.
Diffstat (limited to 'Src')
-rw-r--r--Src/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 51a8b8cfe..245e7bb15 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1395,7 +1395,9 @@ dquote_parse(char endchar, int sub)
 		break;
 	    if (bct) {
 		add(Dnull);
+		cmdpush(CS_DQUOTE);
 		err = dquote_parse('"', sub);
+		cmdpop();
 		c = Dnull;
 	    } else
 		err = 1;