diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.99 2010/04/30 18:37:14 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.100 2010/05/03 11:55:40 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -580,9 +580,9 @@ static int get_gccolor (lua_State *L) { | |||
580 | 580 | ||
581 | static int gc_state (lua_State *L) { | 581 | static int gc_state (lua_State *L) { |
582 | static const char *statenames[] = {"", "pause", "propagate", "atomic", | 582 | static const char *statenames[] = {"", "pause", "propagate", "atomic", |
583 | "sweepstring", "sweepudata", "sweep", "finalize"}; | 583 | "sweepstring", "sweepudata", "sweep"}; |
584 | static const int states[] = {0, GCSpause, GCSpropagate, GCSatomic, | 584 | static const int states[] = {0, GCSpause, GCSpropagate, GCSatomic, |
585 | GCSsweepstring, GCSsweepudata, GCSsweep, GCSfinalize}; | 585 | GCSsweepstring, GCSsweepudata, GCSsweep}; |
586 | int option = luaL_checkoption(L, 1, "", statenames); | 586 | int option = luaL_checkoption(L, 1, "", statenames); |
587 | if (option == 0) { | 587 | if (option == 0) { |
588 | lua_pushstring(L, statenames[G(L)->gcstate]); | 588 | lua_pushstring(L, statenames[G(L)->gcstate]); |