lua-users home
lua-l archive

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


On Wed, Jan 23, 2013 at 3:26 PM, Jorge <xxopxe@gmail.com> wrote:
> If I remove the second "if", everything is ok.
>
> Is that interesting?

Very much so.  This is a consequence of hacking away until something
seems to work; something else may stop working ;)

On line 100, there is a condition:

    and last.gname and (data.idx - last.idx <= 2) and last.arga == data.arga

I think that if that 2 becomes 1 then your problem will disappear.
The script will then not be able to warn about writes to subfields of
global tables, but let's make it solid first.

steve d.