Page 1 of 1

[N/A]Maniascript triggers a "multiline string" (equals """)

Posted: 13 Feb 2014, 21:53
by TGYoshi
Stumbled upon this while minifying the output...

Screenshot: http://i.imgur.com/t53D0Nz.png (see syntax highlighting/error)

}}} has the same effect as """ or so. Didn't really dive into pinpointing the issue, but I don't think this is intended.

Re: Maniascript }}} triggers a "multiline string" (equals ""

Posted: 14 Feb 2014, 21:19
by TMarc
did you try adding blanks between the brackets, or is that also not working? :?

Re: Maniascript }}} triggers a "multiline string" (equals ""

Posted: 14 Feb 2014, 22:23
by TGYoshi
Whitespace "fixes" it, yes. I don't think this is intended behavior though.

Re: Maniascript }}} triggers a "multiline string" (equals ""

Posted: 20 Feb 2014, 20:25
by m4rcel
Hmm I thought I already reported this bug, as I know it for a long time now, but I am either unable to find the report thread, or I actually didn't report it at all ^^

And yeah, this is a bug in the compiler. As soon as it encounters a }}}, it assumes to be in a triple-quoted string, failing to compile anything after it when not.

Or in other words: I can confirm this bug ^^