[fpc-devel] fpdoc path + system.uitypes problems.

Marco van de Voort fpc at pascalprogramming.org
Tue Dec 26 18:33:02 CET 2023


Op 26/12/2023 om 18:20 schreef Michael Van Canneyt via fpc-devel:
>>>>
>>>> To fix this either we have to e.g. keep a list of packages and a 
>>>> list of units and then try to disambiguate to only pick the longest 
>>>> match. That maybe have risks that other corner cases be found or 
>>>> that the list of units is not yet complete at any point when this 
>>>> system is inside fpdoc. This requires no changes to the .xmls
>>>
>>> This is the road to take. It's similar to what the compiler does, 
>>> after all.
>> Not the easiest, not the safest, if at any time during the fpdoc run, 
>> the complete list of units is available.
>
> The complete list is always available.

If you say so.   It is still ambiguous though, even if most common cases 
can disambiguated.   (a.b.c.d  is either symbol d in unit b.c  or field 
d in structure type c in unit b), which is why I didn't favor it.



More information about the fpc-devel mailing list