Browse Source

"lua_debug" now is exported through debug interface (luadebug.h)

Roberto Ierusalimschy 29 năm trước cách đây
mục cha
commit
56fb06b6f5
3 tập tin đã thay đổi với 4 bổ sung5 xóa
  1. 1 2
      inout.c
  2. 1 2
      inout.h
  3. 2 1
      lex.c

+ 1 - 2
inout.c

@@ -5,7 +5,7 @@
 ** Also provides some predefined lua functions.
 */
 
-char *rcs_inout="$Id: inout.c,v 2.27 1996/01/26 14:05:28 roberto Exp roberto $";
+char *rcs_inout="$Id: inout.c,v 2.28 1996/01/26 16:52:47 roberto Exp roberto $";
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -29,7 +29,6 @@ char *rcs_inout="$Id: inout.c,v 2.27 1996/01/26 14:05:28 roberto Exp roberto $";
 
 /* Exported variables */
 Word lua_linenumber;
-Bool lua_debug = 0;
 char *lua_parsedfile;
 
 

+ 1 - 2
inout.h

@@ -1,5 +1,5 @@
 /*
-** $Id: inout.h,v 1.11 1996/01/22 17:40:00 roberto Exp roberto $
+** $Id: inout.h,v 1.12 1996/01/26 14:05:28 roberto Exp roberto $
 */
 
 
@@ -10,7 +10,6 @@
 
 
 extern Word lua_linenumber;
-extern Bool lua_debug;
 extern Word lua_debugline;
 extern char *lua_parsedfile;
 

+ 2 - 1
lex.c

@@ -1,4 +1,4 @@
-char *rcs_lex = "$Id: lex.c,v 2.21 1995/11/16 20:46:24 roberto Exp roberto $";
+char *rcs_lex = "$Id: lex.c,v 2.22 1995/12/21 16:14:04 roberto Exp roberto $";
  
 
 #include <ctype.h>
@@ -10,6 +10,7 @@ char *rcs_lex = "$Id: lex.c,v 2.21 1995/11/16 20:46:24 roberto Exp roberto $";
 #include "table.h"
 #include "opcode.h"
 #include "inout.h"
+#include "luadebug.h"
 #include "parser.h"
 #include "ugly.h"