Am 14.05.2011 00:06, schrieb Joerg Schuelke:
> 
> A macro processor is the simplest way to generate such pieces of source
> code. If it is that simple doing it another way you say, why can I
> find in the compiler sources more then one example of this.

Because a lot of code in the compiler is very old (remember, it was
started in 1993 using TP) and writestr for enums is new compare with
this time span. Nobody rewrote the code yet.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to