Re: [fpc-devel]h2pas: Patch for multi-line macros

2004-02-09 Thread Michael . VanCanneyt
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 li

[fpc-devel]h2pas: Patch for multi-line macros

2004-02-09 Thread Jeff Pohlmeyer
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 I think this will solve the problem: [PATCH