Codetool parses "{$IF ident > n}" wrong / Lazarus editor grayed out wrong section of const conditional compilation
Original Reporter info from Mantis: riderkick
-
Reporter name: Nur Cholif Murtadho
Original Reporter info from Mantis: riderkick
- Reporter name: Nur Cholif Murtadho
Description:
It's grayed out the wrong section. So, I can't work with that section. Missing identifier, etc. But it compile just fine.
I need this because some library using hard coded version in its source.
Example:
...
const
x=3;
begin
{$if x>5}
writeln('more than 5');
{$else}
writeln('less than 5');
{$endif}
end.
Mantis conversion info:
- Mantis ID: 36612
- OS: Windows
- OS Build: 10
- Platform: Windows
- Version: 2.1 (SVN)
- Fixed in revision: 0030109