1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02:00

condition parsing with (z) flag

This commit is contained in:
Sven Wischnowsky 2000-07-13 12:28:12 +00:00
parent fa699be45d
commit 0982f4ee64
2 changed files with 7 additions and 0 deletions

@ -6,6 +6,9 @@
2000-07-13 Sven Wischnowsky <wischnow@zsh.org>
* 12243: Src/hist.c: try to get (z) parameter flag parsing for
conditions right
* 12241: Completion/Core/_main_complete, Src/Zle/computil.c: fix
for _arguments with single-letter options: recognize
option-strings with multiple options; in _main_complete stop

@ -2099,6 +2099,10 @@ bufferwords(LinkList list, char *buf, int *index)
strinbeg(0);
noaliases = 1;
do {
if (incond)
incond = 1 + (tok != DINBRACK && tok != INPAR &&
tok != DBAR && tok != DAMPER &&
tok != BANG);
ctxtlex();
if (tok == ENDINPUT || tok == LEXERR)
break;