On Thu, 13 Feb 2003, Jeff Pohlmeyer wrote:

>
> This is legal in a C header:
>   struct foo;
>
>  - But it causes a seg fault in h2pas when it tries
>  to read the fields from the undefined structure.
>
> There may be a better place to test for this,
> but the patch below seems to work:

I applied it in the h2pas.y yacc sources. The h2pas.pas is generated from
that. Tested and it works.

Thanks !

Michael.

_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to