[Lazarus] Lazarus parser error on "vargars"

Steve Howe howesteve at gmail.com
Fri Apr 18 02:32:48 CEST 2008


Hello Mattias,
> On Thu, 17 Apr 2008 15:48:44 -0300
>
> Steve Howe <howesteve at gmail.com> wrote:
> > 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 ?
>
> Fixed.
Thanks, it works now. Much appreciated.

-- 
Best Regards,
Steve Howe



More information about the Lazarus mailing list