I would prefer to fix it with `@excludeBegin` and `@excludeEnd` options, already planned. They cover more use-cases, and also would satisfy this one. You would be able to write e.g.
```pascal
{ @excludeBegin }
{$I myinclude.inc}
{ @excludeEnd }
```
to have everything inside your include file ignored. You could also place the `@excludeBegin/End` inside the `myinclude.inc` file.
---
** [feature-requests:#59] Ignore entire .inc files**
**Status:** open
**Group:**
**Created:** Mon Dec 31, 2018 06:51 AM UTC by Colin Haywood
**Last Updated:** Mon Dec 31, 2018 06:51 AM UTC
**Owner:** nobody
It would be good if you could ignore an entire .inc file, e.g. by placing the @exclude tag next to the {$I filename.inc} directive, or perhaps a new file-specific tag like @excludefile placed at the top of a file.
---
Sent from sourceforge.net because pas...@li... is subscribed to https://sourceforge.net/p/pasdoc/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pasdoc/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |