mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
Roberto Ierusalimschy
9a37dc0ce6
Small corrections when setting 'L->top'
- OP_NEWTABLE can use 'ra + 1' to set top (instead of ci->top); - OP_CLOSE doesn't need to set top ('Protect' already does that); - OP_TFORCALL must use 'ProtectNT', to preserve the top already set. (That was a small bug, because iterators could be called with extra parameters besides the state and the control variable.) - Comments and an extra test for the bug in previous item.
Description
No description provided
Languages
C
67.4%
Lua
32%
Makefile
0.6%