[Lazarus] Codetool error

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 28 20:52:49 CET 2013


On Thu, 28 Feb 2013 20:30:04 +0100
zeljko <zeljko at holobit.net> wrote:

> On Thursday 28 of February 2013 18:44:00 Mattias Gaertner wrote:
> > On Thu, 28 Feb 2013 17:35:11 +0100 (CET)
> > 
> > Michael Van Canneyt <michael at freepascal.org> wrote:
> > > Hello,
> > > 
> > > A reproducible bug report:
> > > 
> > > I have a method with the following in it:
> > >     stCreate : begin
> > >     
> > >                Result:=Format('INSERT INTO %s (',[TN]);
> > >                end;
> > > 
> > > When my cursor is in the method (in fact any method) and I do a
> > > ctrl-alt-up to switch to the implementation, I get a codetools error:
> > > file.pp(row,col) Error: bracket ) not found
> > > and the cursor is positioned on the ( bracket.
> > 
> > It works here.
> > Do you have a complete example?
> 
> I've spotted same problem with brackets (eg brackets inside comments. if 
> there's only one bracket I get similar error).

Is this reproducable?

Mattias




More information about the Lazarus mailing list