lua-users home
lua-l archive

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

According to the documentation, the "name" field returned by lua_getinfo
is either a reasonable name for the call, or NULL.  When the call is a
tail call, however, it is set to "" (like "namewhat"'s semantics), which
is neither.

I'd recommend that info_tailcall set ar->name to NULL, not "".

Glenn Maynard