Codetools: IFDEF blocks confuse function RemoveUnitFromAllUsesSections
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
The attached project has two tests where a unit in uses section is inside IFDEF block.
The second test has: {$IFNDEF FPC} which is interpreted as true while it is false.
The returned code from both tests does not compile.
This kind of use of IFNDEF is not common but some converted Delphi programs have them.
Mantis conversion info:
- Mantis ID: 18738
- Version: 0.9.31 (SVN)