lua-users home
lua-l archive

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

2010/5/18 Tony Finch <>:
> 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\*
     for i=1,3 do\n\*
    \  print 'two'\n\*
-- careful: can't use "\for"