Am Wed, 11 May 2011 19:11:40 +0200 schrieb Hans-Peter Diettrich <drdiettri...@aol.com>:
> Since that time I don't wonder any more, why a C compiler > spends 50% of its time in scanning (and preprocessing) the input. I would introduce a macro expansion trough a compiler directive. Then there is no need to scan the whole program for macro occurrencies. You "only" have to preprocess the including directive and the macro body. Doing {$I %macro(p1,p2,..)} instead of simple macro(p1,p2,..) helps much. It is a clean way, and pascal like. (in my eyes) Jörg _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel