lua-users home
lua-l archive

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


* Roberto Ierusalimschy:

> Now, when the compiler sees label 0, label 2 and label 1 are out of
> scope, so it makes no sense to raise an error.

Unless labels are of function scope, which I strongly recommend.  I
really doubt Lua 5.2 implements non-local goto from a lexically nested
function to a label in the enclosing function. 8-)