From 3a98c8670dcc5e29679d8e489ab04a101d1f57f8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 26 Jun 1997 17:47:43 -0300 Subject: new name for _VERSION (standard of _UPPERCASES for pre-defined global variable) --- inout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inout.c b/inout.c index 8ad00b4e..574253cc 100644 --- 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 #include @@ -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); } -- cgit v1.2.3-55-g6feb