diff options
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.73 1999/11/16 12:50:48 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.74 1999/11/22 13:12:07 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -810,7 +810,7 @@ void luaB_predefine (lua_State *L) { | |||
810 | /* pre-register mem error messages, to avoid loop when error arises */ | 810 | /* pre-register mem error messages, to avoid loop when error arises */ |
811 | luaS_newfixedstring(L, tableEM); | 811 | luaS_newfixedstring(L, tableEM); |
812 | luaS_newfixedstring(L, memEM); | 812 | luaS_newfixedstring(L, memEM); |
813 | luaL_openlib(L, builtin_funcs, (sizeof(builtin_funcs)/sizeof(builtin_funcs[0]))); | 813 | luaL_openl(L, builtin_funcs); |
814 | lua_pushstring(L, LUA_VERSION); | 814 | lua_pushstring(L, LUA_VERSION); |
815 | lua_setglobal(L, "_VERSION"); | 815 | lua_setglobal(L, "_VERSION"); |
816 | } | 816 | } |