View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000801 | LDMud 3.5 | LPC Compiler/Preprocessor | public | 2012-01-10 14:03 | 2021-04-16 21:59 |
| Reporter | Sorcerer | Assigned To | |||
| Priority | none | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | won't fix | ||
| Product Version | 3.5.0 | ||||
| Summary | 0000801: allow multiple includes in one statement | ||||
| Description | It would be a nice feature for the preprocessor to be able to deal with a statement like #include "/my/path/*.inc" We have some masters, that create different 'viruses' for players. In order to have a tidy code-layout, each viruses description and setup (several lfun-calls) are packed into individuals files, that are all included by the master. The above statement would render changes on the master itself upon addition/removal of virus descriptions obsolete and get rid of many lines of #include in the master. The file lookup has not necessarily to be done by the driver - it would be sufficient, if the master-fun "include_file" was allowed to return an array of files that are then included in the order they are placed in the array. | ||||
| Tags | No tags attached. | ||||
|
|
AFAIR that whole bunch of code assumes you get only one include per #include. I guess, the priority for rewriting that part is rather low for now. |
|
|
We feel that the use case for this is rare and therefore not worth the effort. And we also prefer that includes are spelled out, because their order matters. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-01-10 14:03 | Sorcerer | New Issue | |
| 2012-06-07 16:16 | zesstra | Note Added: 0002135 | |
| 2012-06-07 16:16 | zesstra | Priority | normal => none |
| 2012-06-07 16:16 | zesstra | Status | new => confirmed |
| 2012-06-07 16:16 | zesstra | Product Version | => 3.5.0 |
| 2021-04-16 21:59 | Gnomi | Status | confirmed => closed |
| 2021-04-16 21:59 | Gnomi | Resolution | open => won't fix |
| 2021-04-16 21:59 | Gnomi | Note Added: 0002612 |