[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: compile-time error line numbers
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 17 May 2004 13:04:05 -0300
>I'm doing luaL_loadbuffer() and I do get errors, but no line numbers.
That's strange: in case of errors, luaL_loadbuffer() leaves an error message
on the stack and this message contains the filename and the line number.
Try printing lua_tostring(L,-1) after luaL_loadbuffer returns an error.
If this does not work, can you please post an example?
--lhf