lua-users home
lua-l archive

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


Excuse me if this is very basic, but I'm wondering if there is a way to get line number for errors that occur when Lua compiles a chunk. I'm doing luaL_loadbuffer() and I do get errors, but no line numbers. I'd like to be able to report back to the user exactly what line the error occurred on.

Thanks.