[patch] IDE: Handle {$ifopt ?} blocks by code tools in accordance to the project's compiler options
Original Reporter info from Mantis: Yury
-
Reporter name: Yuriy Sydorov
Original Reporter info from Mantis: Yury
- Reporter name: Yuriy Sydorov
Description:
This patch adds code tools defines for the following compiler options when they enabled or disabled in the project's compiler options:
ASSERTIONS, DEBUGINFO, LONGSTRINGS, IOCHECKS, OVERFLOWCHECKS, RANGECHECKS.
This makes possible to handle {$ifopt ?} blocks by code tools in accordance to the project's compiler options.
For example the following code will be displayed and handled properly in the editor when debugging is enabled or disabled in project's options:
{$ifopt D+}
var i: integer;
{$endif}
Mantis conversion info:
- Mantis ID: 35771
- Version: 2.1 (SVN)
- Fixed in revision: 61483 (#f0aa8dbf).
- Monitored by: » Yury (Yuriy Sydorov)