[Lazarus] Incorrect highlighting for {$IF}..{$ENDIF}

Torsten Bonde Christiansen tc at epidata.info
Fri Jun 3 10:03:12 CEST 2016


Hi.

I notices that the highligter in synedit is incorrect in a special case 
of IFDEF'ed code, please see attached picture:

This snippet of code does compile in fpc 3.0, and if run through 
debugger both the statements "a:=2" are executed as expected.

However, as the picture shows, the highlighting is incorrect when using 
a constant as parameter to the {$IF} condition.

Should a create a bug report for it?

Kind regards,
Torsten.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160603/38c40009/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdkfmknlcncgapc.png
Type: image/png
Size: 19642 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160603/38c40009/attachment-0002.png>


More information about the Lazarus mailing list