lua-users home
lua-l archive

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


I am showing my ignorance. Why not? If you are going to the degree of
something like

--[****[
]****]

then why can;t you just define two new words in the syntax, which are  [[[
and ]]] ?

Michael

----- Original Message ----- 
From: "Roberto Ierusalimschy" <roberto@inf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Friday, June 18, 2004 11:46 AM
Subject: Re: New long comments in 5.1


> > What is wrong with something like [[[   ]]] ?
>
> You cannot enclose a string that starts with '[' or ends with ']'.
>
> -- Roberto
>