h2pas: union in struct not supported
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
h2pas shows 2 syntax errors if a struct contains an union.
(I'm aware that it might be problematic to convert unions to Pascal's variant records when the union is in the middle of the struct)
Steps to reproduce:
Run h2pas on the attached example file. Two syntax errors (line 6 and 8) are shown.
Mantis conversion info:
- Mantis ID: 14765
- OS: Linux
- OS Build: 2.6.30
- Platform: i386
- Version: 2.2.4