[fpc-pascal] h2pas enum error

Hartmut Eilers hartmut at eilers.net
Wed May 5 10:42:01 CEST 2010

Hello Pascal Hackers,

I try to translate the comedilib to pascal. I use h2pas with the
following params:
 h2pas  -e -D -p -w -u comedilib  -l comedilib -o comedilib.pas comedilib.h

I get the message:
at line 79 error : syntax error

Line 79 of comedilib.h is:
enum comedi_oor_behavior comedi_set_global_oor_behavior(enum
comedi_oor_behavior behavior);

It seems that h2pas translates the rest of the lib without problems.
can anybody give me directions how to translate this enum to pascal ?

Thanks for your help

Hartmut Eilers                          http://www.openmsr.org

More information about the fpc-pascal mailing list