[MonoDevelop] Mono.Texteditor Lua Syntax: "#" does not introduce a comment

ulrichb ulrich.b at gmx.at
Sat Oct 30 12:52:25 EDT 2010


In 

http://github.com/mono/monodevelop/blob/master/main/src/core/Mono.Texteditor/SyntaxModes/LuaSyntaxMode.xml

line 32 should be removed.

See http://www.lua.org/manual/5.1/manual.html#2.1


A comment starts with a double hyphen (--) anywhere outside a string. If the
text immediately after -- is not an opening long bracket, the comment is a
short comment, which runs until the end of the line. Otherwise, it is a long
comment, which runs until the corresponding closing long bracket. Long
comments are frequently used to disable code temporarily. 

KR, Ulrich

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Mono-Texteditor-Lua-Syntax-does-not-introduce-a-comment-tp3020461p3020461.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list