mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
new method to handle tests without values (negative values)
This commit is contained in:
parent
3390f9a35a
commit
3b19af44b0
6 changed files with 58 additions and 40 deletions
3
lcode.h
3
lcode.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lcode.h,v 1.43 2005/04/25 19:24:10 roberto Exp roberto $
|
||||
** $Id: lcode.h,v 1.44 2005/05/20 15:53:42 roberto Exp $
|
||||
** Code generator for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -65,6 +65,7 @@ LUAI_FUNC void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e);
|
|||
LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
|
||||
LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e);
|
||||
LUAI_FUNC int luaK_jump (FuncState *fs);
|
||||
LUAI_FUNC void luaK_ret (FuncState *fs, int first, int nret);
|
||||
LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target);
|
||||
LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list);
|
||||
LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue