aboutsummaryrefslogtreecommitdiff
path: root/onelua.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DetailsRoberto Ierusalimschy2023-03-091-3/+17
| | | | Comments in 'onelua.c'
* Keep correct type for immediate operands in comparisonsRoberto Ierusalimschy2019-03-221-0/+107
When calling metamethods for things like 'a < 3.0', which generates the opcode OP_LTI, the C register tells that the operand was converted to an integer, so that it can be corrected to float when calling a metamethod. This commit also includes some other stuff: - file 'onelua.c' added to the project - opcode OP_PREPVARARG renamed to OP_VARARGPREP - comparison opcodes rewritten through macros