[fpc-pascal] h2pas truncates strings

Wimpie Nortje wimpienortje at gmail.com
Tue Nov 10 16:46:55 CET 2009


Thanks, I will try that.

Henry Vermaak wrote:
> 2009/11/10 Wimpie Nortje <wimpienortje at gmail.com>:
>   
>> Hallo
>>
>> I am trying to convert a .h to pascal with h2pas. The header file contains
>> many declarations with lines of 400 characters or longer. h2pas creates the
>> *.tmp.h file with all the code intact but the .pas file's lines are cut off
>> at 256 characters. Is there an easy way around this problem, ie not manually
>> changing the .h file?
>>     
>
> I guess patching h2pas for this is the right thing to do, but as a
> workaround you can always run `indent` over the h file first to chop
> the lines.
>
> Henry
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091110/326ea067/attachment.html>


More information about the fpc-pascal mailing list