diff options
Diffstat (limited to 'lopcodes.h')
| -rw-r--r-- | lopcodes.h | 11 |
1 files changed, 10 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.65 2000/06/26 19:28:31 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.66 2000/08/15 18:28:48 roberto Exp roberto $ |
| 3 | ** Opcodes for Lua virtual machine | 3 | ** Opcodes for Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -156,4 +156,13 @@ OP_CLOSURE/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ | |||
| 156 | #define ISJUMP(o) (OP_JMPNE <= (o) && (o) <= OP_JMP) | 156 | #define ISJUMP(o) (OP_JMPNE <= (o) && (o) <= OP_JMP) |
| 157 | 157 | ||
| 158 | 158 | ||
| 159 | |||
| 160 | /* special code to fit a LUA_MULTRET inside an argB */ | ||
| 161 | #define MULT_RET 255 /* (<=MAXARG_B) */ | ||
| 162 | #if MULT_RET>MAXARG_B | ||
| 163 | #undef MULT_RET | ||
| 164 | #define MULT_RET MAXARG_B | ||
| 165 | #endif | ||
| 166 | |||
| 167 | |||
| 159 | #endif | 168 | #endif |
