diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 | ||
325 | static int do_main (lua_State *L, ZIO *z, int bin) { | 324 | static 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 | ||