[fpc-pascal] h2pas and function types
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Aug 21 20:34:20 CEST 2007
It seems h2pas silently skips function types.
For example h2pas simply skips the following typedef without any trace
in the translation:
typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void
*, void *, int *);
In the h2pas.pas code I found something that looks promising:
around line 1920:
32 : begin
(* TYPEDEF type_specifier LKLAMMER dec_modifier declarator RKLAMMER maybe_space LKLAMMER argument_declaration_list RKLAMMER SEMICOLON *)
Does someone know about the state of function types and h2pas?
Mattias
More information about the fpc-pascal
mailing list