diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-11-08 11:43:42 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-11-08 11:43:42 -0300 |
| commit | e44f3a2ffc7ced5e75cca7657aaa60ef27da89aa (patch) | |
| tree | 090174ab9a66fbec195e9dd539710ab19370ec2f /ljumptab.h | |
| parent | f791bb69061c15f73395c5a95958ac18af5ef764 (diff) | |
| download | lua-e44f3a2ffc7ced5e75cca7657aaa60ef27da89aa.tar.gz lua-e44f3a2ffc7ced5e75cca7657aaa60ef27da89aa.tar.bz2 lua-e44f3a2ffc7ced5e75cca7657aaa60ef27da89aa.zip | |
Global initialization checks name conflict
Initialization "global a = 10" raises an error if global 'a' is already
defined, that is, it has a non-nil value.
Diffstat (limited to 'ljumptab.h')
| -rw-r--r-- | ljumptab.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -107,6 +107,7 @@ static const void *const disptab[NUM_OPCODES] = { | |||
| 107 | &&L_OP_CLOSURE, | 107 | &&L_OP_CLOSURE, |
| 108 | &&L_OP_VARARG, | 108 | &&L_OP_VARARG, |
| 109 | &&L_OP_GETVARG, | 109 | &&L_OP_GETVARG, |
| 110 | &&L_OP_ERRNNIL, | ||
| 110 | &&L_OP_VARARGPREP, | 111 | &&L_OP_VARARGPREP, |
| 111 | &&L_OP_EXTRAARG | 112 | &&L_OP_EXTRAARG |
| 112 | 113 | ||
