zsh-workers
 help / color / mirror / code / Atom feed
* 5.0.8 regression regarding $() in arithmetic for-loops
@ 2015-07-27 13:48 Christian Neukirchen
  2015-07-27 15:34 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Neukirchen @ 2015-07-27 13:48 UTC (permalink / raw)
  To: zsh-workers


The following three forms are broken in zsh-5.0.8-0-gf0068ed (release)
and zsh-5.0.8-109-gb6a2f11:

% for (( $(true) ; ; )) do echo yes; done
zsh: parse error near `; '
zsh: parse error near `$(true) ; ; )) do ec...'
% for (( ; $(true) ; )) do echo yes; done 
zsh: parse error
zsh: parse error near `$(true) ; )) do echo...'
% for (( ; ; $(true) )) do echo yes; done 
zsh: parse error near `true'
zsh: parse error near `$(true) )) do echo y...'

On 5.0.7 they used to behave like infinite loops.

-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-30 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 13:48 5.0.8 regression regarding $() in arithmetic for-loops Christian Neukirchen
2015-07-27 15:34 ` Bart Schaefer
2015-07-28  8:35   ` Kamil Dudka
2015-07-30  5:19     ` PATCH " Bart Schaefer
2015-07-30 16:06       ` Kamil Dudka

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).