View Issue Details

IDProjectCategoryView StatusLast Update
0029998LazarusIDEpublic2018-12-05 12:26
ReporterAndrew G. KhodotovAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSWinXP SP3OS Version
Product Version1.6Product Build51630 
Target VersionFixed in Version 
Summary0029998: Wrong color of conditional-compile code
DescriptionIf compile condition is a checking of the macro value, the code looks like "inactive" independently of verity of the condition. See screenshot1.

But coloring looks "accurate" if the value of the macro checks as string value. I think it's incorrect behavior too. See screenshot2.
TagsNo tags attached.
Fixed in Revision
LazTarget
Widgetset
Attached Files

Relationships

related to 0030109 confirmed IDE editor: {$if} doesn't evaluate constants 
related to 0034649 resolvedBart Broersma Source Code Editor shows inverted interpretation of $if statements 

Activities

Andrew G. Khodotov

2016-04-12 17:06

reporter  

CodeColor.png (4,136 bytes)
CodeColor.png (4,136 bytes)

Andrew G. Khodotov

2016-04-12 17:06

reporter  

CodeColor2.png (4,431 bytes)
CodeColor2.png (4,431 bytes)

Andrew G. Khodotov

2016-04-12 17:36

reporter   ~0091978

But second example dont't compile:

(3104) Compiling project1.lpr
G:\Temp\project1.lpr(6,5) Fatal: (2002) illegal character "'''" ($27)
Fatal: (1018) Compilation aborted

Issue History

Date Modified Username Field Change
2016-04-12 17:06 Andrew G. Khodotov New Issue
2016-04-12 17:06 Andrew G. Khodotov File Added: CodeColor.png
2016-04-12 17:06 Andrew G. Khodotov File Added: CodeColor2.png
2016-04-12 17:36 Andrew G. Khodotov Note Added: 0091978
2016-08-22 17:11 Bart Broersma Relationship added related to 0030109
2018-12-05 12:26 Martin Friebe Relationship added related to 0034649