[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc2) now available
- From: Dirk Laurie <dpl@...>
- Date: Tue, 28 Jun 2011 01:00:40 +0200
On Tue, Jun 28, 2011 at 12:06:47AM +0200, Tony Finch wrote:
> On 23 Jun 2011, at 08:57, Dirk Laurie <dpl@sun.ac.za> wrote:
> >
> > Simplest would be: rules for label visibility are exactly the same as
> > for local variables.
>
> That would prevent forward jumps.
>
Consider these operations on a label xxx:
(1) Define xxx as a label name if it has not yet been done.
(2) Associate an address with xxx.
(3) Transfer control to xxx.
Your statement would be correct if `goto xxx` does (3) and `::xxx::`
does (1) and (2). But I have in mind that `goto xxx` would do
(1) and (3). Indirect jump to label xxx.
Dirk
- References:
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Josh Simmons
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, David Manura
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Lorenzo Donati
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, David Kastrup
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Lorenzo Donati
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Lorenzo Donati
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Dirk Laurie
- Re: [ANN] Lua 5.2.0 (beta-rc2) now available, Tony Finch