aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-08 17:42:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-08 17:42:07 -0300
commit0802a9df9e9326c5e61f0d6b69685c2c253de5f2 (patch)
treec0f34b8fbf79694ea3d5f9d98f14680ba74a2b14 /ldo.c
parentf90bc248b3c3c18941a96038b2a7517ad571d8b1 (diff)
downloadlua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.tar.gz
lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.tar.bz2
lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.zip
no more options for debug information: it is always on
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ldo.c b/ldo.c
index 2d922078..0e6859af 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.81 2000/06/28 20:20:36 roberto Exp roberto $ 2** $Id: ldo.c,v 1.82 2000/08/04 19:38:35 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -25,7 +25,6 @@
25#include "lstring.h" 25#include "lstring.h"
26#include "ltable.h" 26#include "ltable.h"
27#include "ltm.h" 27#include "ltm.h"
28#include "luadebug.h"
29#include "lundump.h" 28#include "lundump.h"
30#include "lvm.h" 29#include "lvm.h"
31#include "lzio.h" 30#include "lzio.h"
@@ -324,7 +323,6 @@ static int protectedparser (lua_State *L, ZIO *z, int bin) {
324 323
325static int do_main (lua_State *L, ZIO *z, int bin) { 324static int do_main (lua_State *L, ZIO *z, int bin) {
326 int status; 325 int status;
327 int debug = L->debug; /* save debug status */
328 do { 326 do {
329 unsigned long old_blocks; 327 unsigned long old_blocks;
330 luaC_checkGC(L); 328 luaC_checkGC(L);
@@ -339,7 +337,6 @@ static int do_main (lua_State *L, ZIO *z, int bin) {
339 L->GCthreshold -= newelems2; 337 L->GCthreshold -= newelems2;
340 } 338 }
341 } while (bin && status == 0); 339 } while (bin && status == 0);
342 L->debug = debug; /* restore debug status */
343 return status; 340 return status;
344} 341}
345 342