diff options
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.27 2002/02/05 22:39:12 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.28 2002/03/08 19:10:32 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 | */ |
| @@ -36,6 +36,8 @@ typedef enum BinOpr { | |||
| 36 | typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_NOUNOPR } UnOpr; | 36 | typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_NOUNOPR } UnOpr; |
| 37 | 37 | ||
| 38 | 38 | ||
| 39 | #define getcode(fs,e) ((fs)->f->code[(e)->info]) | ||
| 40 | |||
| 39 | #define luaK_codeAsBc(fs,o,A,sBc) luaK_codeABc(fs,o,A,(sBc)+MAXARG_sBc) | 41 | #define luaK_codeAsBc(fs,o,A,sBc) luaK_codeABc(fs,o,A,(sBc)+MAXARG_sBc) |
| 40 | 42 | ||
| 41 | void luaK_error (LexState *ls, const char *msg); | 43 | void luaK_error (LexState *ls, const char *msg); |
