aboutsummaryrefslogtreecommitdiff
path: root/onelua.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update in 'onelua.c'Roberto Ierusalimschy2025-08-261-5/+15
|
* 'onelua' can use the test libraryRoberto Ierusalimschy2025-07-291-0/+5
| | | | Just add -DLUA_USER_H='"ltests.h"' when compiling it.
* 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