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

Moderator: NADEO

Locked
User avatar
TGYoshi
Posts: 811
Joined: 15 Mar 2011, 16:59

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

Post 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.
=3
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

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

Post by TMarc »

did you try adding blanks between the brackets, or is that also not working? :?
User avatar
TGYoshi
Posts: 811
Joined: 15 Mar 2011, 16:59

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

Post by TGYoshi »

Whitespace "fixes" it, yes. I don't think this is intended behavior though.
=3
User avatar
m4rcel
Posts: 653
Joined: 15 Jun 2010, 11:12
Contact:

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

Post 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 ^^
ImageImage
Image
Locked

Return to “Maniaplanet Reports”

Who is online

Users browsing this forum: No registered users and 1 guest