lua-users home
lua-l archive

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

> Well to stay on-topic, this is quite embarrasing:
> 	r = luaL_loadstring(L, "return 42\n");
> returns 0 (no error), while
> 	r = luaL_loadstring(L, "return 42");
> returns LUA_ERRSYNTAX.  Ich have no clue yet, why.

What is the error message left on the stack?

(I seem to recall similar problems reported here that had to do with
Windows CE or something like that, though I can't find it in the
archives right now.)