[fpc-pascal] h2pas and #elif
Attila Kinali
attila at kinali.ch
Wed Mar 2 18:23:26 CET 2005
Hi,
I tryed to convert a couple of .h files to
pascal units and run across the problem
that #elif aren't converted properly,
ie that they are left as
(*** was #elif ****){$else defined(WIN32)}
and thus completely ignored.
A quick look at the h2pas code revieled
that this case isn't handled at all
(ie needs to build a stack to keep track
of #elif's).
Did anyone else already solve this problem
or shall i try to extend h2pas ?
Attila Kinali
--
郷に入れば郷に従え
More information about the fpc-pascal
mailing list