summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-05-31 13:50:40 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-05-31 13:50:40 -0300
commit414359b2f103f94902a59926a44eab8b46296e0d (patch)
tree5fc7c2a148264c9b1acac688f7fe0deb9b453bf7
parent0079efc4796eca1321b8d7fd31d289eb1de48dff (diff)
downloadlua-414359b2f103f94902a59926a44eab8b46296e0d.tar.gz
lua-414359b2f103f94902a59926a44eab8b46296e0d.tar.bz2
lua-414359b2f103f94902a59926a44eab8b46296e0d.zip
new version number
-rw-r--r--lbaselib.c4
-rw-r--r--lua.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 39e498de..bf3e3a39 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.188 2005/12/29 15:32:11 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.189 2006/01/18 11:49:12 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -619,7 +619,7 @@ static void base_open (lua_State *L) {
619 lua_setglobal(L, "_G"); 619 lua_setglobal(L, "_G");
620 /* open lib into global table */ 620 /* open lib into global table */
621 luaL_register(L, "_G", base_funcs); 621 luaL_register(L, "_G", base_funcs);
622 lua_pushliteral(L, LUA_VERSION); 622 lua_pushlstring(L, LUA_VERSION, 7);
623 lua_setglobal(L, "_VERSION"); /* set global _VERSION */ 623 lua_setglobal(L, "_VERSION"); /* set global _VERSION */
624 /* `ipairs' and `pairs' need auxiliary functions as upvalues */ 624 /* `ipairs' and `pairs' need auxiliary functions as upvalues */
625 auxopen(L, "ipairs", luaB_ipairs, ipairsaux); 625 auxopen(L, "ipairs", luaB_ipairs, ipairsaux);
diff --git a/lua.h b/lua.h
index 5d84ad55..0dd95d61 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.215 2005/12/27 17:09:50 roberto Exp roberto $ 2** $Id: lua.h,v 1.216 2006/01/10 12:50:13 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -16,7 +16,7 @@
16#include "luaconf.h" 16#include "luaconf.h"
17 17
18 18
19#define LUA_VERSION "Lua 5.1" 19#define LUA_VERSION "Lua 5.1.1"
20#define LUA_VERSION_NUM 501 20#define LUA_VERSION_NUM 501
21#define LUA_COPYRIGHT "Copyright (C) 1994-2006 Lua.org, PUC-Rio" 21#define LUA_COPYRIGHT "Copyright (C) 1994-2006 Lua.org, PUC-Rio"
22#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" 22#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes"