lua/testes
Roberto Ierusalimschy 23e6bac8a0 Keep correct type for immediate operands in comparisons
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
2019-03-22 13:37:17 -03:00
..
libs 'all' script automatically 'make's everything 2018-12-19 13:15:14 -02:00
all.lua Changes in the warning system 2019-03-14 15:30:54 -03:00
api.lua Changes in the warning system 2019-03-14 15:30:54 -03:00
attrib.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
big.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
bitwise.lua Removed extra information from RCS keyword strings in tests 2018-10-22 15:20:07 -03:00
bwcoercion.lua Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
calls.lua Small changes in the header of binary files 2019-03-19 15:31:08 -03:00
closure.lua Removed internal cache for closures 2018-11-01 13:21:00 -03:00
code.lua New semantics for the integer 'for' loop 2019-03-19 10:53:18 -03:00
constructs.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
coroutine.lua No more to-be-closed functions 2019-01-04 13:09:47 -02:00
cstack.lua Changes in the control of C-stack overflow 2018-12-27 14:32:29 -02:00
db.lua Keep correct type for immediate operands in comparisons 2019-03-22 13:37:17 -03:00
errors.lua Better error messages for invalid operands in numeric 'for' 2018-10-30 15:46:56 -03:00
events.lua Keep correct type for immediate operands in comparisons 2019-03-22 13:37:17 -03:00
files.lua To-be-closed variable in 'for' loop separated from the state 2018-11-07 14:42:05 -02:00
gc.lua Changes in the warning system 2019-03-14 15:30:54 -03:00
gengc.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
goto.lua No more to-be-closed functions 2019-01-04 13:09:47 -02:00
heavy.lua Added file 'testes/heavy.lua' 2018-12-14 13:49:02 -02:00
literals.lua Changes in the validation of UTF-8 2019-03-15 13:14:17 -03:00
locals.lua No more to-be-closed functions 2019-01-04 13:09:47 -02:00
main.lua New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
math.lua 'math.randomseed()' sets a somewhat random seed 2019-03-13 14:47:48 -03:00
nextvar.lua Details in the implementation of the integer 'for' loop 2019-03-21 16:01:55 -03:00
pm.lua Optional 'init' argument to 'string.gmatch' 2019-01-08 14:22:32 -02:00
sort.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
strings.lua New conversion specifier '%p' for 'string.format' 2019-03-13 14:04:01 -03:00
tpack.lua Optional 'init' argument to 'string.gmatch' 2019-01-08 14:22:32 -02:00
utf8.lua Changes in the validation of UTF-8 2019-03-15 13:14:17 -03:00
vararg.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
verybig.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00