Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-06

Incorrect highlighting for {$IF}..{$ENDIF}

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

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-0001.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-0001.png>

Reply by email