diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 13:26:40 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 13:26:40 -0200 |
commit | 3b6f8bfbe688fdd0f1c17bd023140804155624f3 (patch) | |
tree | 9cb2bedcaded8e46e9cd471f7247ddce2916d633 /lcode.h | |
parent | caf01b5bfa33617b7bb2c40292f74599f6030eba (diff) | |
download | lua-3b6f8bfbe688fdd0f1c17bd023140804155624f3.tar.gz lua-3b6f8bfbe688fdd0f1c17bd023140804155624f3.tar.bz2 lua-3b6f8bfbe688fdd0f1c17bd023140804155624f3.zip |
simpler implementation of for loops
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.17 2000/11/30 18:50:47 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.18 2000/12/04 18:33:40 roberto Exp roberto $ |
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 | */ |
@@ -53,6 +53,7 @@ int luaK_code1 (FuncState *fs, OpCode o, int arg1); | |||
53 | int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2); | 53 | int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2); |
54 | int luaK_jump (FuncState *fs); | 54 | int luaK_jump (FuncState *fs); |
55 | void luaK_patchlist (FuncState *fs, int list, int target); | 55 | void luaK_patchlist (FuncState *fs, int list, int target); |
56 | void luaK_fixfor (FuncState *fs, int pc, int dest); | ||
56 | void luaK_concat (FuncState *fs, int *l1, int l2); | 57 | void luaK_concat (FuncState *fs, int *l1, int l2); |
57 | void luaK_goiftrue (FuncState *fs, expdesc *v, int keepvalue); | 58 | void luaK_goiftrue (FuncState *fs, expdesc *v, int keepvalue); |
58 | int luaK_getlabel (FuncState *fs); | 59 | int luaK_getlabel (FuncState *fs); |