From 414359b2f103f94902a59926a44eab8b46296e0d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 31 May 2006 13:50:40 -0300 Subject: new version number --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 39e498de..bf3e3a39 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.188 2005/12/29 15:32:11 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.189 2006/01/18 11:49:12 roberto Exp roberto $ ** 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_pushliteral(L, LUA_VERSION); + lua_pushlstring(L, LUA_VERSION, 7); lua_setglobal(L, "_VERSION"); /* set global _VERSION */ /* `ipairs' and `pairs' need auxiliary functions as upvalues */ auxopen(L, "ipairs", luaB_ipairs, ipairsaux); -- cgit v1.2.3-55-g6feb