diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-07-11 12:53:23 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-07-11 12:53:23 -0300 |
commit | 4d5de1c1fb2decb39d74dfb092ca5643ce47176f (patch) | |
tree | 6d211899db43994b5d421a8a7e59dcb2ecccc0db /lua.h | |
parent | 9a825f6bb9a141023ac519a73f6a9958c113659e (diff) | |
download | lua-4d5de1c1fb2decb39d74dfb092ca5643ce47176f.tar.gz lua-4d5de1c1fb2decb39d74dfb092ca5643ce47176f.tar.bz2 lua-4d5de1c1fb2decb39d74dfb092ca5643ce47176f.zip |
Fixed bug in line info. when using 'not' operator
When creating code for a jump on a 'not' condition, the code generator
was removing an instruction (the OP_NOT) without adjusting its
corresponding line information.
This fix also added tests for this case and extra functionality in
the test library to debug line info. structures.
Diffstat (limited to 'lua.h')
0 files changed, 0 insertions, 0 deletions