summaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-08-24 17:36:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-08-24 17:36:47 -0300
commit997f11f54322883c3181225f29d101a597f31730 (patch)
tree22628b0ca4632fea24e279bc8ea1cc103a15bcb5 /lauxlib.c
parent02060b7a37d88d4e92cf64a008c0651eae432c12 (diff)
downloadlua-github-997f11f54322883c3181225f29d101a597f31730.tar.gz
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.
Diffstat (limited to 'lauxlib.c')
0 files changed, 0 insertions, 0 deletions