aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-10-28 10:55:00 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-10-28 10:55:00 -0200
commit9e58e0df8f1d9abe7d9506b9685fb2362acf2b31 (patch)
treed31191a7b138f8f296542495d3230b134a4e312c /lcode.h
parent690efef3dee98ff05414b80ae6fa33a115ba6cdc (diff)
downloadlua-9e58e0df8f1d9abe7d9506b9685fb2362acf2b31.tar.gz
lua-9e58e0df8f1d9abe7d9506b9685fb2362acf2b31.tar.bz2
lua-9e58e0df8f1d9abe7d9506b9685fb2362acf2b31.zip
some cleaning
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lcode.h b/lcode.h
index ff5ee27d..27f12a3d 100644
--- a/lcode.h
+++ b/lcode.h
@@ -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
45LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); 47LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
46LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); 48LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
47LUAI_FUNC void luaK_fixline (FuncState *fs, int line); 49LUAI_FUNC void luaK_fixline (FuncState *fs, int line);