aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-26 17:47:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-26 17:47:43 -0300
commit3a98c8670dcc5e29679d8e489ab04a101d1f57f8 (patch)
tree93856e653c6f973918f2d9ed35465cfebadccbad
parentda585783e33f92f8dff6fd47a89671494adc11e0 (diff)
downloadlua-3a98c8670dcc5e29679d8e489ab04a101d1f57f8.tar.gz
lua-3a98c8670dcc5e29679d8e489ab04a101d1f57f8.tar.bz2
lua-3a98c8670dcc5e29679d8e489ab04a101d1f57f8.zip
new name for _VERSION (standard of _UPPERCASES for pre-defined
global variable)
-rw-r--r--inout.c4
1 files 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 @@
5** Also provides some predefined lua functions. 5** Also provides some predefined lua functions.
6*/ 6*/
7 7
8char *rcs_inout="$Id: inout.c,v 2.66 1997/06/20 19:19:09 roberto Exp roberto $"; 8char *rcs_inout="$Id: inout.c,v 2.67 1997/06/23 18:27:53 roberto Exp roberto $";
9 9
10#include <stdio.h> 10#include <stdio.h>
11#include <string.h> 11#include <string.h>
@@ -401,7 +401,7 @@ void luaI_predefine (void)
401 n = luaI_findsymbolbyname(int_funcs[i].name); 401 n = luaI_findsymbolbyname(int_funcs[i].name);
402 s_ttype(n) = LUA_T_CFUNCTION; s_fvalue(n) = int_funcs[i].func; 402 s_ttype(n) = LUA_T_CFUNCTION; s_fvalue(n) = int_funcs[i].func;
403 } 403 }
404 n = luaI_findsymbolbyname("_VERSION_"); 404 n = luaI_findsymbolbyname("_VERSION");
405 s_ttype(n) = LUA_T_STRING; s_tsvalue(n) = lua_createstring(LUA_VERSION); 405 s_ttype(n) = LUA_T_STRING; s_tsvalue(n) = lua_createstring(LUA_VERSION);
406} 406}
407 407