[fpc-devel] Multiple type sections - Far forward type declarations [feasible feature request?]

Sven Barth pascaldragon at googlemail.com
Tue Oct 31 15:49:26 CET 2017


Am 31.10.2017 10:47 schrieb "Michael Van Canneyt" <michael at freepascal.org>:



On Tue, 31 Oct 2017, Marco van de Voort wrote:

In our previous episode, Michael Van Canneyt said:
>
>>
>> With your extended "forward type resolution" this would no longer be
>> possible.
>> Theoretically it probably can, but multiple passes would be needed. This
>> would aversely affect the compiler speed.
>>
>
> Note that the example shows consecutive type blocks. They can be merged
> simply by ignoring a TYPE while already in a type block.
>

That was the gist of my proposal to do "type section folding".


That would indeed be something that could be done. However I'd need to
check how well that would already work across include files.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20171031/74d70b52/attachment.html>


More information about the fpc-devel mailing list