lua-users home
lua-l archive

Re: continue/repeat...until false dichotomy

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Feb 17, 2010, at 9:39 AM, David Kastrup wrote:
> By the way, it would also be possible to just use "repeat" which already
> is a reserved word. If its use is restricted to the same places where
> "break" and "return" are allowed, I don't think that there is syntactic
> ambiguity.
Maybe not with a little extra lookahead, but if you see:
	if not_ready() then repeat
What are you in the midst of parsing?
Mark

AltStyle によって変換されたページ (->オリジナル) /