lua-users home
lua-l archive

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


Alexandre Rion <gaumerie@hotmail.com> writes:

> I also think that labels should be per block.

+1

Local variables are per block.  This makes it possible to have
self-contained syntactical entities with minimal outside interaction.
function-local labels break this concept, and it is not clear to me how
this would affect label/goto outside of functions.

-- 
David Kastrup