[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 14 Jun 2011 12:56:13 +0200
On Tue, Jun 14, 2011 at 12:35 PM, David Given <firstname.lastname@example.org> wrote:
> @label: -- 0
> goto label
> @label: -- 1
> @label: -- 2
> Does the goto jump to 0, 1, 2, or is this a compilation error?
Using the experimental method, it goes to the first label. In fact,
putting a 'goto label' in block 1 still goes to 0, which is a wee bit
Of course (talking about code generation) first prize is if Lua
supported some kind of #line directive and truly become the C of
dynamic languages. But that might be a bit specialized ...