Roberto Ierusalimschy 25 年之前
父節點
當前提交
63e230a16b
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      llimits.h
  2. 2 2
      lopcodes.h

+ 2 - 2
llimits.h

@@ -1,5 +1,5 @@
 /*
-** $Id: llimits.h,v 1.1 2000/03/24 17:26:08 roberto Exp roberto $
+** $Id: llimits.h,v 1.2 2000/03/24 19:49:23 roberto Exp roberto $
 ** Limits, basic types, and some other "instalation-dependent" definitions
 ** See Copyright Notice in lua.h
 */
@@ -178,7 +178,7 @@ typedef unsigned long Instruction;
 
 /* maximum lookback to find a real constant (for code generation) */
 #ifndef LOOKBACKNUMS
-#define LOOKBACKNUMS    20      /* arbitrary limit */
+#define LOOKBACKNUMS    20      /* arbitrary constant */
 #endif
 
 

+ 2 - 2
lopcodes.h

@@ -1,5 +1,5 @@
 /*
-** $Id: lopcodes.h,v 1.51 2000/03/24 17:26:08 roberto Exp roberto $
+** $Id: lopcodes.h,v 1.52 2000/03/24 19:49:23 roberto Exp roberto $
 ** Opcodes for Lua virtual machine
 ** See Copyright Notice in lua.h
 */
@@ -137,7 +137,7 @@ OP_JMP,/*	J	-		-		PC+=s		*/
 
 OP_PUSHNILJMP,/* -	-		nil		PC++;		*/
 
-OP_CLOSURE,/*	A B	v_b-v_1		closure(CNST[a], v_1-v_b)	*/
+OP_CLOSURE,/*	A B	v_b-v_1		closure(KPROTO[a], v_1-v_b)	*/
 
 OP_SETLINE/*	U	-		-		LINE=u		*/