diff options
author | Lua Team <team@lua.org> | 2006-06-02 12:00:00 +0000 |
---|---|---|
committer | repogen <> | 2006-06-02 12:00:00 +0000 |
commit | 2ccf5a6aa54605d1b4f6a4a6e3b83625780e2cb3 (patch) | |
tree | c9a428ef8d253d5c5095cc7b7712c138d2cdd4ae /src/lbaselib.c | |
parent | 60e37e0252c2758c935c8f382ace44b5100f6f21 (diff) | |
download | lua-github-5.1.1-rc2.tar.gz |
Lua 5.1.1-rc25.1.1-rc2
Diffstat (limited to 'src/lbaselib.c')
-rw-r--r-- | src/lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lbaselib.c b/src/lbaselib.c index 778e393a..2df437b0 100644 --- a/src/lbaselib.c +++ b/src/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.190 2006/05/31 16:50:40 roberto Exp $ +** $Id: lbaselib.c,v 1.191 2006/06/02 15:34:00 roberto Exp $ ** Basic library ** See Copyright Notice in lua.h */ @@ -619,7 +619,7 @@ static void base_open (lua_State *L) { lua_setglobal(L, "_G"); /* open lib into global table */ luaL_register(L, "_G", base_funcs); - lua_pushlstring(L, LUA_VERSION, 7); + lua_pushliteral(L, LUA_VERSION); lua_setglobal(L, "_VERSION"); /* set global _VERSION */ /* `ipairs' and `pairs' need auxliliary functions as upvalues */ auxopen(L, "ipairs", luaB_ipairs, ipairsaux); |