summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-21 14:05:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-21 14:05:49 -0300
commitf51775950737eb4d097cda0bba143973b5385947 (patch)
tree35b85b279cafa961591353a236b9da1c7d5a4920 /lopcodes.h
parent52062684e11beffafbbbff0a8c7aa2642e40e47e (diff)
downloadlua-f51775950737eb4d097cda0bba143973b5385947.tar.gz
lua-f51775950737eb4d097cda0bba143973b5385947.tar.bz2
lua-f51775950737eb4d097cda0bba143973b5385947.zip
details
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 6fd583a8..f98f562b 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -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)