Hello all,

For a long time, what appears to be a bug in Lazarus' code parser have been 
bothering me: it appears it cannot parse the "varargs" keyword. Every time 
it's asked to do code completion, it will break and complain at the 
first "varargs", such as:

errorSAXFunc = procedure  (ctx: Pointer; const msg: PChar); cdecl varargs;

The error message is:

libxml2.pas(1462,73) Error: ; expected, but varargs found

Since I'm using the libxml2 [1] library extensively on my code and it's filled 
with "varargs" procedure types, the Lazarus code completion is unusable.

The code itself is valid compiles fine on FreePascal, of course.

Is there any way to fix that ?

Thanks.
-- 
Best Regards,
Steve Howe

[1] http://sourceforge.net/projects/libxml2-pas/
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to