1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

16748: Fix infinite loop introduced by 16464.

This commit is contained in:
Bart Schaefer 2002-03-01 05:14:38 +00:00
parent 4e354ca36f
commit 4b98b648df
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-02-28 Bart Schaefer <schaefer@zsh.org>
* 16748: Completion/Zsh/Command/_zle: Fix infinite loop
introduced by 16464.
2002-02-25 Sven Wischnowsky <wischnow@zsh.org>
* 16711: Src/loop.c: allow nterruption of empty while-loops

View file

@ -46,9 +46,9 @@ while (( $#state )); do
;;
(widget*)
_wanted -C "$context[1]" widgets expl widget compadd -k widgets && ret=0
[[ $st != *function ]] && continue
;&
(function)
[[ $state[1] != *function ]] || # Handle fall-through
_wanted -C "$context[1]" functions expl 'widget shell function' \
compadd -k functions && ret=0
;;