[Lazarus] Codetool error

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 28 18:44:00 CET 2013


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?

 
> Which is kind of strange given that the bracket is inside a string constant.

Mattias




More information about the Lazarus mailing list