diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-05-11 21:11:08 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-05-11 21:11:08 +0000 |
commit | 11f07a269bbfced8a4ae396de278acffa64a96a5 (patch) | |
tree | 7de83eaf37e4530c5eea004b87c82666ef45f9fb /Build/source/texk/web2c/luatexdir/lua | |
parent | 5593c8e2719c3ace767d347b769f172886490a0f (diff) |
luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@44294 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luainit.w | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luastuff.w | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luatex-api.h | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w index ff8a3f63250..fa43976b0ac 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.w +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w @@ -1023,6 +1023,10 @@ void lua_initialize(int ac, char **av) } /* */ init_tex_table(Luas); + if (lua_only) { + if (load_luatex_core_lua(Luas)) + fprintf(stderr, "Error in execution of luatex-core.lua .\n"); + } if (lua_pcall(Luas, 0, 0, 0)) { fprintf(stdout, "%s\n", lua_tostring(Luas, -1)); lua_traceback(Luas); diff --git a/Build/source/texk/web2c/luatexdir/lua/luastuff.w b/Build/source/texk/web2c/luatexdir/lua/luastuff.w index b3093303c6e..6f57e8ee845 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luastuff.w +++ b/Build/source/texk/web2c/luatexdir/lua/luastuff.w @@ -293,8 +293,6 @@ void luainterpreter(void) lua_pushcfunction(L,luatex_loadfile); lua_setglobal(L, "loadfile"); - luatex_md5_lua_open(L); - open_oslibext(L); open_strlibext(L); open_lfslibext(L); diff --git a/Build/source/texk/web2c/luatexdir/lua/luatex-api.h b/Build/source/texk/web2c/luatexdir/lua/luatex-api.h index 2ec38e6b686..b83745049c8 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luatex-api.h +++ b/Build/source/texk/web2c/luatexdir/lua/luatex-api.h @@ -85,7 +85,6 @@ extern int luaopen_zip(lua_State * L); extern int luaopen_lfs(lua_State * L); extern int luaopen_lpeg(lua_State * L); extern int luaopen_md5(lua_State * L); -extern int luatex_md5_lua_open(lua_State * L); #ifndef LuajitTeX extern int luaopen_ffi(lua_State * L); |