diff options
-rw-r--r-- | lapi.c | 4 | ||||
-rw-r--r-- | lbaselib.c | 4 | ||||
-rw-r--r-- | lua.c | 4 | ||||
-rw-r--r-- | lua.h | 5 |
4 files changed, 9 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.52 2005/12/22 16:19:56 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.53 2006/01/10 12:50:00 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | const char lua_ident[] = | 34 | const char lua_ident[] = |
35 | "$Lua: " LUA_VERSION " " LUA_COPYRIGHT " $\n" | 35 | "$Lua: " LUA_RELEASE " " LUA_COPYRIGHT " $\n" |
36 | "$Authors: " LUA_AUTHORS " $\n" | 36 | "$Authors: " LUA_AUTHORS " $\n" |
37 | "$URL: www.lua.org $\n"; | 37 | "$URL: www.lua.org $\n"; |
38 | 38 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.189 2006/01/18 11:49:12 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.190 2006/05/31 16:50:40 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_pushlstring(L, LUA_VERSION, 7); | 622 | lua_pushliteral(L, LUA_VERSION); |
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); |
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.c,v 1.158 2006/04/10 18:27:23 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.159 2006/05/24 14:16:39 roberto Exp roberto $ |
3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -107,7 +107,7 @@ static int docall (lua_State *L, int narg, int clear) { | |||
107 | 107 | ||
108 | 108 | ||
109 | static void print_version (void) { | 109 | static void print_version (void) { |
110 | l_message(NULL, LUA_VERSION " " LUA_COPYRIGHT); | 110 | l_message(NULL, LUA_RELEASE " " LUA_COPYRIGHT); |
111 | } | 111 | } |
112 | 112 | ||
113 | 113 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.216 2006/01/10 12:50:13 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.217 2006/05/31 16:50:40 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,8 @@ | |||
16 | #include "luaconf.h" | 16 | #include "luaconf.h" |
17 | 17 | ||
18 | 18 | ||
19 | #define LUA_VERSION "Lua 5.1.1" | 19 | #define LUA_VERSION "Lua 5.1" |
20 | #define LUA_RELEASE "Lua 5.1.1" | ||
20 | #define LUA_VERSION_NUM 501 | 21 | #define LUA_VERSION_NUM 501 |
21 | #define LUA_COPYRIGHT "Copyright (C) 1994-2006 Lua.org, PUC-Rio" | 22 | #define LUA_COPYRIGHT "Copyright (C) 1994-2006 Lua.org, PUC-Rio" |
22 | #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" | 23 | #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" |