[fpc-devel]h2pas: Patch for multi-line macros
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Mon Feb 9 19:54:52 CET 2004
On Mon, 9 Feb 2004, Jeff Pohlmeyer wrote:
>
> I see things like this a lot in C headers:
>
> #define foo(a,b,c) \
> ( a + b + c )
>
>
>
> But h2pas chokes when it sees the backslash:
>
> Illegal character in line 1
> "#define foo(a,b,c) \"
> at line 1 error : syntax error
> at line 2 error : syntax error
A known problem :)
> I think this will solve the problem:
I applied the patch, thank you very much !
Michael.
More information about the fpc-devel
mailing list