lua-users home
lua-l archive

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


> Using 'break if <exp>' (with whitespace after 'break') would create an
> ambiguous syntax, but only in the case where an (unreachable) 'if'
> follows a 'break' - and that is often desirable when debugging.

There is no ambiguity. A break must be the last statement in a block.


>    <outer> while true do

This syntax is already valid in Lua:

   a = b<count>5

-- Roberto