about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/lex.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 11f7cc3b2..9f6cff21a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-27  Bart Schaefer  <schaefer@zsh.org>
+
+	* 15708: Src/lex.c: Fix PS2 prompt when there's an open double
+	quote inside an open braced-parameter expression.
+
 2001-08-25  Bart Schaefer  <schaefer@zsh.org>
 
 	* 15707: Src/init.c: Fix history crash caused by re-entering
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;