lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Aug 15, 2009 at 7:39 PM, delbu9c1 wrote:
> On Sat, Aug 15, 2009 at 7:34 PM, delbu9c1 wrote:
>> It seems like you're advocating that the following be ambiguous, if I understand you correctly.
>>
>> Foo = bar
>> "baz":quux()

Yes, that would give an "ambiguous syntax" error under the new
proposal, whereas currently it is interpreted as Foo =
bar("baz"):quux(); .  Alternatives without semicolons include

  Foo = bar "baz"
                 :quux()

Some discussion on semicolons was in [4].

[4] http://lua-users.org/lists/lua-l/2009-02/msg00360.html