|
On 17-Oct-06, at 8:38 PM, Edward Mitchell wrote:
As far as I can see, there's nothing like this in lua.c. It seems thatlua_load(...) (or luaL_loadbuffer) should return an status code that implies"Needs more input."
It returns a syntax error with an easily parseable error message, which is what lua.c does. See the function incomplete() on line 161 (v5.1.1)