Inno Setup script syntax highlight

Solved bugs are moved into this topic...
Post Reply
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Inno Setup script syntax highlight

Post 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!
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Lexer fixed/updated, pls test.
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Post 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.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Maybe SF did not show you last file? i uploaded there today. file date of 'pascal script.lcf' is 2020.01.28
ANewUser
Posts: 50
Joined: 25.01.2020 12:15

Post by ANewUser »

I have downloaded successfully! It works fine.
Thank you for your help!
Post Reply