lua-users home
lua-l archive

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


2015-05-20 8:17 GMT+02:00 Philipp Janda <siffiejoe@gmx.net>:

> I'd like to avoid parsing Lua files of possibly different Lua versions and
> patching their source code.

One could argue that by definition a program with debug hooks in it
is still under development, and changes to its source code are still
to be expected.

What I have learnt from this thread is "return hooks give undefined
results when an expression rather than a variable is being returned".
I think I'll patch it into my local copy of $LUA/doc/manual.html.