lua-users home
lua-l archive

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

>Sorry if this was already mentioned here, one minor nit I never understood is 
>why the long syntax comment isn't --[[ ]]-- instead, since the --[[ ]] lends 
>itself to the quite common pitfall:
>   x[y[z]]=w

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.