[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work3) now available
- From: David Manura <dm.lua@...>
- Date: Tue, 18 May 2010 23:48:31 -0400
2010/5/18 Tony Finch <dot@dotat.at>:
> On Tue, 18 May 2010, Luiz Henrique de Figueiredo wrote:
>> - empty statement
> ... - no restrictions on line breaks in function calls
So, no more ambiguous "ambiguous syntax" error. Somehow the above two
points seem related.
> - \* string continuations
Maybe not the prettiest when some indenting should be preserved:
x = "for i=1,3 do\n\*
\ print 'one'\n\*
end\n\*
for i=1,3 do\n\*
\ print 'two'\n\*
end"
print(x)
-- careful: can't use "\for"