> While LUA_IDSIZE value can be configured via luaconf.h, MAXSRC can not, > therefore one has to modify llex.c. Could it be changed in Lua 5.2 (or > in Lua 5.1.5)? Yes, Lua 5.2 will use LUA_IDSIZE instead of MAXSRC in llex.c.