diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-21 14:05:49 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-21 14:05:49 -0300 |
| commit | f51775950737eb4d097cda0bba143973b5385947 (patch) | |
| tree | 35b85b279cafa961591353a236b9da1c7d5a4920 /lopcodes.h | |
| parent | 52062684e11beffafbbbff0a8c7aa2642e40e47e (diff) | |
| download | lua-f51775950737eb4d097cda0bba143973b5385947.tar.gz lua-f51775950737eb4d097cda0bba143973b5385947.tar.bz2 lua-f51775950737eb4d097cda0bba143973b5385947.zip | |
details
Diffstat (limited to 'lopcodes.h')
| -rw-r--r-- | lopcodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.62 2000/05/22 18:44:46 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.63 2000/06/05 14:56:18 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 | */ |
| @@ -152,6 +152,7 @@ OP_SETLINE/* U - - LINE=u */ | |||
| 152 | 152 | ||
| 153 | } OpCode; | 153 | } OpCode; |
| 154 | 154 | ||
| 155 | #define NUM_OPCODES ((int)OP_SETLINE+1) | ||
| 155 | 156 | ||
| 156 | 157 | ||
| 157 | #define ISJUMP(o) (OP_JMPNE <= (o) && (o) <= OP_JMP) | 158 | #define ISJUMP(o) (OP_JMPNE <= (o) && (o) <= OP_JMP) |
