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

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Nov 16 16:41:57 EST 2010


On Sat, Oct 30, 2010 at 12:52 PM, ulrichb <ulrich.b at gmx.at> wrote:
>
> 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.

Fixed, thanks.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list