diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-10-28 10:55:00 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-10-28 10:55:00 -0200 |
commit | 9e58e0df8f1d9abe7d9506b9685fb2362acf2b31 (patch) | |
tree | d31191a7b138f8f296542495d3230b134a4e312c /lcode.h | |
parent | 690efef3dee98ff05414b80ae6fa33a115ba6cdc (diff) | |
download | lua-9e58e0df8f1d9abe7d9506b9685fb2362acf2b31.tar.gz lua-9e58e0df8f1d9abe7d9506b9685fb2362acf2b31.tar.bz2 lua-9e58e0df8f1d9abe7d9506b9685fb2362acf2b31.zip |
some cleaning
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.47 2005/11/08 19:44:31 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.48 2006/03/21 19:28:03 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 | */ |
@@ -42,6 +42,8 @@ typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; | |||
42 | 42 | ||
43 | #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) | 43 | #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) |
44 | 44 | ||
45 | #define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) | ||
46 | |||
45 | LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); | 47 | LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); |
46 | LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); | 48 | LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); |
47 | LUAI_FUNC void luaK_fixline (FuncState *fs, int line); | 49 | LUAI_FUNC void luaK_fixline (FuncState *fs, int line); |