[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [CORRECTION] lua_concat right-associates! (Was: lua_concat left-associates: bug or feature?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 12 Dec 2012 07:57:17 +0200
2012/12/11 Jay Carlson <nop@nop.com>:
> -- Perhaps it is not defined which order these occur in?
> local addend1 = a()
> local addend2 = b()
> local addend3 = c()
As soon as the second "local" is encountered, the first statement
is known to be complete. So order is determined.
But
local addend1, addend2, addend3 = a(), b(), c()
is only complete when the next character after the `c()` can't
be lexed to continue the statement. So order remains undetermined.