[Lazarus] Using FPC parser/tokenizer for code formatting

Mattias Gärtner nc-gaertnma at netcologne.de
Mon May 31 15:00:53 CEST 2010


Zitat von Adem <listmember at letterboxes.org>:

> [...]
> How would *you* deal with macros?

I would not use a complete parser.
I would use a forgiving parser like the synedit highlighter or the  
indentation parser of the codetools.
It depends on the features your code formatter should support.

Mattias







More information about the Lazarus mailing list