[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: [BUG]Wrong trace of goto
From: Luiz Henrique de Figueiredo <lhf () tecgraf ! puc-rio ! br>
Date: 2020-10-25 11:18:42
Message-ID: CAD55k3po14x-m-Lgr=icj40rcmdrMWvR7kZGn54rKDW_znD+sQ () mail ! gmail ! com
[Download RAW message or body]
> After "false" is replaced with "foo" we still see the bug:
I was running 5.3. It seems that 5.4 behaves differently.
% nl -ba a
1 debug.sethook(print, "l")
2 if foo then
3 goto EXIT
4 A=2
5 end
6 ::EXIT::
% lua53 -v a
Lua 5.3.6 Copyright (C) 1994-2020 Lua.org, PUC-Rio
line 2
line 3
line 6
% lua54 -v a
Lua 5.4.1 Copyright (C) 1994-2020 Lua.org, PUC-Rio
line 3
line 6
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic