commit 3a98c8670dcc5e29679d8e489ab04a101d1f57f8
parent da585783e33f92f8dff6fd47a89671494adc11e0
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 26 Jun 1997 17:47:23 -0300
new name for _VERSION (standard of _UPPERCASES for pre-defined
global variable)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/inout.c b/inout.c
@@ -5,7 +5,7 @@
** Also provides some predefined lua functions.
*/
-char *rcs_inout="$Id: inout.c,v 2.66 1997/06/20 19:19:09 roberto Exp roberto $";
+char *rcs_inout="$Id: inout.c,v 2.67 1997/06/23 18:27:53 roberto Exp roberto $";
#include <stdio.h>
#include <string.h>
@@ -401,7 +401,7 @@ void luaI_predefine (void)
n = luaI_findsymbolbyname(int_funcs[i].name);
s_ttype(n) = LUA_T_CFUNCTION; s_fvalue(n) = int_funcs[i].func;
}
- n = luaI_findsymbolbyname("_VERSION_");
+ n = luaI_findsymbolbyname("_VERSION");
s_ttype(n) = LUA_T_STRING; s_tsvalue(n) = lua_createstring(LUA_VERSION);
}