commit | 4d5de1c1fb2decb39d74dfb092ca5643ce47176f | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Jul 11 12:53:23 2018 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Jul 11 12:53:23 2018 -0300 |
tree | 6d211899db43994b5d421a8a7e59dcb2ecccc0db | |
parent | 9a825f6bb9a141023ac519a73f6a9958c113659e [diff] |
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.