diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-29 17:49:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-29 17:49:21 -0300 |
commit | 3b19af44b05ce5e7f7db3708d052cca25fe6d7d3 (patch) | |
tree | f4575f972c8f780e64d935ff211ebd5cd8f9a3cf /lcode.h | |
parent | 3390f9a35ac66d01c7bb0114083a4cb384783ff5 (diff) | |
download | lua-3b19af44b05ce5e7f7db3708d052cca25fe6d7d3.tar.gz lua-3b19af44b05ce5e7f7db3708d052cca25fe6d7d3.tar.bz2 lua-3b19af44b05ce5e7f7db3708d052cca25fe6d7d3.zip |
new method to handle tests without values (negative values)
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.43 2005/04/25 19:24:10 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.44 2005/05/20 15:53:42 roberto Exp $ |
3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -65,6 +65,7 @@ LUAI_FUNC void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e); | |||
65 | LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults); | 65 | LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults); |
66 | LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e); | 66 | LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e); |
67 | LUAI_FUNC int luaK_jump (FuncState *fs); | 67 | LUAI_FUNC int luaK_jump (FuncState *fs); |
68 | LUAI_FUNC void luaK_ret (FuncState *fs, int first, int nret); | ||
68 | LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target); | 69 | LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target); |
69 | LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list); | 70 | LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list); |
70 | LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2); | 71 | LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2); |