lua-users home
lua-l archive

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

On 06/21/2011 11:15 PM, Josh Simmons wrote:
On Wed, Jun 22, 2011 at 1:03 PM, dcharno<>  wrote:
On 06/21/2011 06:21 PM, Luiz Henrique de Figueiredo wrote:

Lua 5.2.0 (beta-rc2) is now available at

MD5     9ea65fecf46eaedc72824ed599e5877a  -
SHA1    b0f44b05f6fa36c200fb565c5b2160be5b63e385  -

This is a beta version. Some details may change in the final version.

The main changes since Lua 5.1 are listed in

The complete diffs from rc1 are available at

A test suite is available at

This release candidate will be the beta version if no glitches are found
in the next 10 days or so. We thank everyone for their feedback till now.

All feedback welcome. Thanks.

The reference manual says labels are visible in the block where they are
defined.  So, why does the following fail in rc2?

        while false do
                goto label

        while false do
                goto label

        $ ./src/lua: t.lua:12: label 'label' already defined on line 6

Aren't ::label:: defined in different blocks?

"A label is visible in the entire block where it is defined (including
nested blocks, but not nested functions). A function cannot have more
than one label with a given name." Emphasis on the second sentence.

This working in rc1.  So much for progress.