Browse Source

POS_A replaced by POS_Ax (which is more "precise")

Roberto Ierusalimschy 14 năm trước cách đây
mục cha
commit
d72ec210c7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      lopcodes.h

+ 2 - 2
lopcodes.h

@@ -1,5 +1,5 @@
 /*
-** $Id: lopcodes.h,v 1.135 2010/03/12 19:14:06 roberto Exp roberto $
+** $Id: lopcodes.h,v 1.136 2010/10/13 16:45:54 roberto Exp roberto $
 ** Opcodes for Lua virtual machine
 ** See Copyright Notice in lua.h
 */
@@ -123,7 +123,7 @@ enum OpMode {iABC, iABx, iAsBx, iAx};  /* basic instruction format */
 			| (cast(Instruction, bc)<<POS_Bx))
 
 #define CREATE_Ax(o,a)		((cast(Instruction, o)<<POS_OP) \
-			| (cast(Instruction, a)<<POS_A))
+			| (cast(Instruction, a)<<POS_Ax))
 
 
 /*