> 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 ?
If it is not in the current code then it is not supported. You are welcome to extend h2pas. Current FPC 1.9.x supports {$elseif} so it shouldn't be that hard. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal