diff options
Diffstat (limited to 'lcode.c')
| -rw-r--r-- | lcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1242,7 +1242,7 @@ static void codenot (FuncState *fs, expdesc *e) { | |||
| 1242 | ** Check whether expression 'e' is a short literal string | 1242 | ** Check whether expression 'e' is a short literal string |
| 1243 | */ | 1243 | */ |
| 1244 | static int isKstr (FuncState *fs, expdesc *e) { | 1244 | static int isKstr (FuncState *fs, expdesc *e) { |
| 1245 | return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_B && | 1245 | return (e->k == VK && !hasjumps(e) && e->u.info <= MAXINDEXRK && |
| 1246 | ttisshrstring(&fs->f->k[e->u.info])); | 1246 | ttisshrstring(&fs->f->k[e->u.info])); |
| 1247 | } | 1247 | } |
| 1248 | 1248 | ||
