aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-10-06 17:47:32 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-10-06 17:47:32 -0300
commite6bfbc38b554174918b58f6747e29ce2b18bb3c1 (patch)
tree980d56d901d5cb2a4936feacd5c105dfe1016c0d
parentd31c04c0498bd78a99a15fc8980844da6882914d (diff)
downloadlua-e6bfbc38b554174918b58f6747e29ce2b18bb3c1.tar.gz
lua-e6bfbc38b554174918b58f6747e29ce2b18bb3c1.tar.bz2
lua-e6bfbc38b554174918b58f6747e29ce2b18bb3c1.zip
'luaopen_package' was missing in new states
-rw-r--r--ltests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 70a66ce0..372246e6 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.31 2005/09/14 17:48:57 roberto Exp roberto $ 2** $Id: ltests.c,v 2.32 2005/09/20 17:55:10 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*/
@@ -725,6 +725,7 @@ static int loadlib (lua_State *L) {
725 {"mathlibopen", luaopen_math}, 725 {"mathlibopen", luaopen_math},
726 {"strlibopen", luaopen_string}, 726 {"strlibopen", luaopen_string},
727 {"tablibopen", luaopen_table}, 727 {"tablibopen", luaopen_table},
728 {"packageopen", luaopen_package},
728 {NULL, NULL} 729 {NULL, NULL}
729 }; 730 };
730 lua_State *L1 = cast(lua_State *, 731 lua_State *L1 = cast(lua_State *,