[Lazarus] Using FPC parser/tokenizer for code formatting

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 28 21:00:42 CEST 2010


On Fri, 28 May 2010 20:50:15 +0200
Florian Klaempfl <florian at freepascal.org> wrote:

> > It is the only way the code formatter can keep up with new features of FPC.
> 
> FPC isn't moving that fast nowadays regarding syntax so keeping up
> shouldn't be that hard.

Maybe not in the last month, but it definitely got in the last year a
lot of new keywords and syntax. For example:
foreach, generics were extended, objcclass, objprotocol, objccategory,
nested classes, some new modifiers were added

Mattias




More information about the Lazarus mailing list