lua

A copy of the Lua development repository
Log | Files | Refs | README

commit f26b85c5b7740d2a185998a155e1323bac86dc13
parent 3592c08a2c56b4378993825c62b47d483829b9b5
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  2 Dec 2005 16:41:46 -0200

small detail

Diffstat:
Mlopcodes.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lopcodes.h b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.122 2005/08/29 20:49:21 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.123 2005/10/23 17:37:55 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -208,7 +208,7 @@ OP_VARARG/* A B R(A), R(A+1), ..., R(A+B-1) = vararg */ } OpCode; -#define NUM_OPCODES (cast(int, OP_VARARG+1)) +#define NUM_OPCODES (cast(int, OP_VARARG) + 1)