lua-users home
lua-l archive

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


> > Lua 5.1 will bring a more general long comment:
> > --[****[ ... ]****]
> > The comment closes when the same number of stars match.
> > You're free to choose how many stars to use.
> 
> This is cool.  It'll also apply to long strings, right?

 Pardon my ignorance, but why can't there be a simpler long comment style?

    --[*[ this seems ridiculous ]*]--

 It's a minor issue, but Lua is always striving for simplicity and this
doesn't seem like it.

  Tom


> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br 
> [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Aaron Brown
> Sent: Friday, June 18, 2004 10:20 AM
> To: Lua list
> Subject: New long comments in 5.1
> 
> lhf wrote:
> 
> > Lua 5.1 will bring a more general long comment:
> > --[****[ ... ]****]
> > The comment closes when the same number of stars match.
> > You're free to choose how many stars to use.
> 
> This is cool.  It'll also apply to long strings, right?
> 
> --
> Aaron
> 
> 
> 
>