[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Bug-report: luac -l FORPREP comment incorrect/confusing
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 9 Sep 2021 14:57:20 -0300
> The luac -l annotation indicates the FORPREP instruction jumps to the PC of the loops FORLOOP instruction when it actually jumps to the instruction following it.
Thanks for the report.
It looks like a bug. It should be this:
printf(COMMENT "to %d",pc+bx+3);
Perhaps also "exit to %d".