aboutsummaryrefslogtreecommitdiff
path: root/llex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-08-17 12:37:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-08-17 12:37:04 -0300
commit782ef85b22f89d1cd1ab083202f018668d26e4b0 (patch)
tree74eb4ee9e4052febe4703c9fce7df4c013cb69b3 /llex.h
parent30982bec968fd34694b5be3ecbbc92de78d8eacb (diff)
downloadlua-782ef85b22f89d1cd1ab083202f018668d26e4b0.tar.gz
lua-782ef85b22f89d1cd1ab083202f018668d26e4b0.tar.bz2
lua-782ef85b22f89d1cd1ab083202f018668d26e4b0.zip
Bug: wrong code gen. for indices with comparisons
In function 'luaK_exp2val', used to generate code for indices: Macro 'hasjumps' does not consider the case when the whole expression is a "jump" (a test). In all other of its uses, the surrounding code ensures that the expression cannot be VJMP.
Diffstat (limited to 'llex.h')
0 files changed, 0 insertions, 0 deletions