lua-users home
lua-l archive

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


On Mon, Jun 15, 2009 at 5:09 PM, Sivan Thiruvengadam<rajskm@gmail.com> wrote:
> Nevertheless, Just out of curiosity, do you know in which file these error
> constants has been defined and how these constants gets converted to the
> actual text.

You mean the error message?

In the errorlimit function (lparser.c): luaO_pushfstring(fs->L, "main
function has more than %d %s", limit, what)
This would have been called by luaY_checklimit (lparser.c), which in
turn would have been called by new_localvar (again, lparser.c).