commit | 997f11f54322883c3181225f29d101a597f31730 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Aug 24 17:36:47 2022 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Aug 24 17:36:47 2022 -0300 |
tree | 22628b0ca4632fea24e279bc8ea1cc103a15bcb5 | |
parent | 02060b7a37d88d4e92cf64a008c0651eae432c12 [diff] |
Bug: 'break' may not properly close variable in a 'for' loop Function 'leaveblock' was generating "break" label before removing variables from the closing block. If 'createlabel' created a 'close' instruction (which it did when matching a goto/break that exited the scope of an upvalue), that instruction would use the wrong level.
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.