lua-users home
lua-l archive

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


>Also, we're considering adding block comments to Lua in the form --[[...]]

Will they be recursive? I mean, suppose I comment out (e.g. for testing) a
block of code that includes a block comment:

--[[
some_code
some_code
--[[
some_code
some_code
]]
some_code
some_code
]]

This will not work if the first "]]" closes both comments. I suppose
"[[...]]" recursion goes without saying even in comments, but just to be
sure...

  Enrico