From 9e58e0df8f1d9abe7d9506b9685fb2362acf2b31 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 28 Oct 2008 10:55:00 -0200 Subject: some cleaning --- lcode.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lcode.h') diff --git a/lcode.h b/lcode.h index ff5ee27d..27f12a3d 100644 --- a/lcode.h +++ b/lcode.h @@ -1,5 +1,5 @@ /* -** $Id: lcode.h,v 1.47 2005/11/08 19:44:31 roberto Exp roberto $ +** $Id: lcode.h,v 1.48 2006/03/21 19:28:03 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -42,6 +42,8 @@ typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; #define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET) +#define luaK_jumpto(fs,t) luaK_patchlist(fs, luaK_jump(fs), t) + LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C); LUAI_FUNC void luaK_fixline (FuncState *fs, int line); -- cgit v1.2.3-55-g6feb