[Lazarus] CodeTools error when using 'section' keyword

Michael Ring mail at michael-ring.org
Tue Oct 21 22:36:20 CEST 2014


program hello;
const
   devcfg3: longWord = DEVCFG3_DEFAULT; section '.devcfg3';
begin
end.

is a program that compiles fine but gives me an error in lazarus when I 
try to use completion with ctrl-SPACE.


hello.pas(3,48) Error: = erwartet aber '.devcfg3' gefunden

Can I disable codetools for this const definition or is it possible to 
get a fix for this issue in trunk of lazarus?

Thank you,

Michael




More information about the Lazarus mailing list