[PATCH] typelib importer creates type declarations using types that are not declared yet
Original Reporter info from Mantis: ludob
-
Reporter name: Ludo Brands
Original Reporter info from Mantis: ludob
- Reporter name: Ludo Brands
Description:
Since all types have to be defined before they can used, the typelib importer has to reorder type declarations. In case of circular references, an error message is created in the header of the unit.
Other fixes:
- support for unions
- add verification against reserved names for consts, enums and record members.
Steps to reproduce:
Import units created for system32\activeds.tlb and system32\mshtml.tlb generated several compiler errors
Mantis conversion info:
- Mantis ID: 20972
- OS: Windows
- Build: 19891
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 19892 (#721a2cc2)
- Target version: 3.0.0