Page 1 of 1

Code after double backslash gets gray

Posted: Thu May 12, 2022 1:12 pm
by amyren
Just noticed that after having double backslash, the code behind the backslashes looks invalid in the Windows IDE
The code will be executed as intended, its just a visual issue that may lure you into thinking your code is wrong formatted.

Code: Select all

If A = 0 Then DebugPrint("\\") else debugprint(A)

Re: Code after double backslash gets gray

Posted: Thu May 12, 2022 5:02 pm
by plouf
gets confused by \" which alone is escape code
" \\[SPACE]" is ok..

Re: Code after double backslash gets gray

Posted: Thu May 19, 2022 7:54 pm
by airsoftsoftwair
Yes, that looks like a bug. Will be fixed.

Re: Code after double backslash gets gray

Posted: Fri Jun 17, 2022 9:16 pm
by airsoftsoftwair

Code: Select all

- Fix [IDE]: Syntax parser didn't handle escaped quotes in strings correctly