[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Nestable comments
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 27 Nov 2003 11:09:18 -0200
> In that case, can't you use "-" instead of "*" just to use fewer
> (different) characters?
Several characters could be used instead of `*' (`.', `:', `=', ...),
but `-' does not seem a good choice, because both `[-' and `[--'
are valid sequences in Lua:
a = b[-i]
x = b[--[this is an old-style comment]