lua-users home
lua-l archive

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


* Roberto Ierusalimschy:

>> Labels should have non-lexical scope, extending across the whole
>> function, and the same label must not be used twice within the same
>> function.
>
> Then should you be able to jump into a block?

Sure, if it's feasible to implement.  Jumping into the middle of a for
statement might not be very meaningful, but the effect is still
precisely defined by the source-to-source translation in the reference
manual, so I don't see a direct problem with such cases.