lua-users home
lua-l archive

Re: Can not use long comments

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


Could it be possible to change the commenting so it requires ]]-- at the end? I've faced this ]] trouble many times, and the only way is to do ] ] (that i know of)
-ak
Wim Couwenberg kirjoittaa keskiviikkona, 14. tammikuuta 2004, kello 10:10:
Long comments [[ . . . ]] exists in the manual. But when I use it, I
get a error "unexpected symbol near `[[A = 5;]]'".
That's a long string. A long comment starts with `--[['. Another thing is
that `]]' is quite common in expressions:
 table1[table2[x]] -- end of comment!!
--
Wim

AltStyle によって変換されたページ (->オリジナル) /