lua-users home
lua-l archive

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


>My recommendation has been, for some time actually, that tail
>calls should just be tail calls, and that there should be a
>way of disabling them for people who want that (for example,
>during debugging).

The easiest way, but not very convenient, is to change all your tail calls from
	return f(x,y,z)
to
	return f(x,y,z),nil
--lhf