lua-users home
lua-l archive

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


On Wed, Aug 18, 2010 at 10:02 AM, Peter Odding <peter@peterodding.com> wrote:
> Thanks for the bug report. I encountered the same bug recently [1]:
> [1] http://github.com/xolox/vim-lua-inspect/blob/master/TODO.md
2010/8/18 Petr Štetiar <ynezz@true.cz>:
> Local variable variable1 is not for sure defined on line 4, it's
> defined on line 5 and there's missing end for function t2() on line 12.

Thank you, these issues are fixed now (although I'm a little uncertain
about the patch to Metalua lex.lua line number handling without yet
fulling studying the lexer).  Unlike the HTML and VIM plugins, the
SciTE plugin largely ignores line numbers provided by Metalua
libraries and instead recalculates them from character positions.
LuaInspect bugs are best reported to me or via github so as not to
clog the lua-l while this is under active development.