diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 1.62 2001/02/02 15:13:05 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.63 2001/02/06 16:01:29 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 | */ |
| @@ -652,12 +652,6 @@ void luaB_opentests (lua_State *L) { | |||
| 652 | luaL_openl(L, tests_funcs); /* open functions inside new table */ | 652 | luaL_openl(L, tests_funcs); /* open functions inside new table */ |
| 653 | lua_setglobals(L); /* restore old table of globals */ | 653 | lua_setglobals(L); /* restore old table of globals */ |
| 654 | lua_setglobal(L, "T"); /* set new table as global T */ | 654 | lua_setglobal(L, "T"); /* set new table as global T */ |
| 655 | /* open other libraries */ | ||
| 656 | lua_baselibopen(L); | ||
| 657 | lua_iolibopen(L); | ||
| 658 | lua_strlibopen(L); | ||
| 659 | lua_mathlibopen(L); | ||
| 660 | lua_dblibopen(L); | ||
| 661 | } | 655 | } |
| 662 | 656 | ||
| 663 | #endif | 657 | #endif |
