Page 1 of 1

Inno Setup script syntax highlight

Posted: 28.01.2020 12:45
by ANewUser
Hello!

The lexer treats the preprocessor's ending } character ("{#...}") as the pascal style multiline comment ("{...}") block ending character.
Only the red text is interpreted as comment instead of the entire text in "{...}".

{multiline comment block
some_constant = '{#a_preprocessor_directive
}';
some_other_constant = '{#another_preprocessor_directive}';
}

Thanks!

Posted: 28.01.2020 14:20
by Alexey
Lexer fixed/updated, pls test.

Posted: 28.01.2020 15:49
by ANewUser
I have tried to download from https://sourceforge.net/projects/synwri ... es/Lexers/, but there is no change. I have examined the file dates in the archive and all of them are 2016 or 2019.

Posted: 28.01.2020 16:09
by Alexey
Maybe SF did not show you last file? i uploaded there today. file date of 'pascal script.lcf' is 2020.01.28

Posted: 28.01.2020 18:00
by ANewUser
I have downloaded successfully! It works fine.
Thank you for your help!