aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-12-02 16:42:08 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-12-02 16:42:08 -0200
commitf26b85c5b7740d2a185998a155e1323bac86dc13 (patch)
tree7f530ed04ba5d7bf4e41f106d7fff6e295c83962
parent3592c08a2c56b4378993825c62b47d483829b9b5 (diff)
downloadlua-f26b85c5b7740d2a185998a155e1323bac86dc13.tar.gz
lua-f26b85c5b7740d2a185998a155e1323bac86dc13.tar.bz2
lua-f26b85c5b7740d2a185998a155e1323bac86dc13.zip
small detail
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index ac138403..376505d1 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.122 2005/08/29 20:49:21 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.123 2005/10/23 17:37:55 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*/
@@ -208,7 +208,7 @@ OP_VARARG/* A B R(A), R(A+1), ..., R(A+B-1) = vararg */
208} OpCode; 208} OpCode;
209 209
210 210
211#define NUM_OPCODES (cast(int, OP_VARARG+1)) 211#define NUM_OPCODES (cast(int, OP_VARARG) + 1)
212 212
213 213
214 214