diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-08-27 07:31:37 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-08-27 07:31:37 +0000 |
commit | bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b (patch) | |
tree | 3cc06b882505bf92dca190db1bdf784ebe226e80 | |
parent | 9188b23b2495814575bd9a7d1397c02c2dfc67dd (diff) | |
download | zsh-bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b.tar.gz zsh-bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b.tar.xz zsh-bc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b.zip |
Fix PS2 for dquote nested in braceparam.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/lex.c | 2 |
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; |