lua-users home
lua-l archive

Bug in MakeDef.lua

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The current implementation of 'MakeDef.lua' (end 'def.lua') doesn't work correctly, some function in lauxlib.h have name with underscore and your regexp accept only alpha deigit so you need to replace :
 gsub(lauxlib_h, "LUALIB_API.-(luaL_%w+)%s+%(", write_func)
by
 gsub(lauxlib_h, "LUALIB_API.-(luaL_[%w%_]+)%s+%(", write_func)
else you have some function not exported.
This script also try to parse the file 'luadebug.h' and this file was not longer present in lua_5.0a
--
Thomas Lavergne "Le vrai rêveur est celui qui rêve
 de l'impossible." (Elsa Triolet)
thomas.lavergne@laposte.net
d-12@laposte.net ICQ:#137121910 http://assoc.wanadoo.fr/thallium/

AltStyle によって変換されたページ (->オリジナル) /