commit | a006514ea138a29b6031058d9002b48a572b5dd6 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Mon Oct 29 14:26:48 2018 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Mon Oct 29 14:26:48 2018 -0300 |
tree | b289a8af0c0497f2555784a0cf666659ceab0236 | |
parent | 6e9b719694bffb8de711f182d405ec37d32ae0b1 [diff] |
Big revamp in the implmentation of labels/gotos Added restriction that, when a label is created, there cannot be another label with the same name visible. That allows backward goto's to be resolved when they are read. Backward goto's get a close if they jump out of the scope of some variable; labels get a close only if previous goto to it jumps out of the scope of some upvalue.