Am 21.10.2014 23:32 schrieb "Mattias Gaertner" <[email protected]>: > > > > > Michael Ring <[email protected]> hat am 21. Oktober 2014 um 22:36 > > geschrieben: > > > > > > 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 > > fpc 2.6.4 gives the same error. > When is "section" allowed?
It only works on certain targets (currently only Embedded AFAIK). I don't know its rules of declarations currently though... Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
