diff options
| author | Lua Team <team@lua.org> | 2005-09-09 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2005-09-09 12:00:00 +0000 |
| commit | bd80c4ee9b6d9464cf9f3ff4ee41890d8b3ca9e6 (patch) | |
| tree | e1d7c1b341ccb9a3a1fb044ac6e67b5a5e0259b7 /src/lcode.h | |
| parent | bf6b5550cdfbc0c4a3a4577776ad76628d80718e (diff) | |
| download | lua-github-5.1-alpha.tar.gz | |
Lua 5.1-alpha5.1-alpha
Diffstat (limited to 'src/lcode.h')
| -rw-r--r-- | src/lcode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lcode.h b/src/lcode.h index 19a3284e..ed1a95bc 100644 --- a/src/lcode.h +++ b/src/lcode.h @@ -1,5 +1,5 @@ /* -** $Id: lcode.h,v 1.43 2005/04/25 19:24:10 roberto Exp $ +** $Id: lcode.h,v 1.45 2005/08/29 20:49:21 roberto Exp $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -34,7 +34,7 @@ typedef enum BinOpr { #define binopistest(op) ((op) >= OPR_NE) -typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_SIZE, OPR_NOUNOPR } UnOpr; +typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; #define getcode(fs,e) ((fs)->f->code[(e)->info]) @@ -65,6 +65,7 @@ LUAI_FUNC void luaK_storevar (FuncState *fs, expdesc *var, expdesc *e); LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults); LUAI_FUNC void luaK_setoneret (FuncState *fs, expdesc *e); LUAI_FUNC int luaK_jump (FuncState *fs); +LUAI_FUNC void luaK_ret (FuncState *fs, int first, int nret); LUAI_FUNC void luaK_patchlist (FuncState *fs, int list, int target); LUAI_FUNC void luaK_patchtohere (FuncState *fs, int list); LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2); |
