[fpc-devel] property syntax extension

Michael Van Canneyt michael at freepascal.org
Fri Oct 19 10:48:51 CEST 2007



On Fri, 19 Oct 2007, Jonas Maebe wrote:

> 
> On 19 Oct 2007, at 10:28, Micha Nelissen wrote:
> 
> >Michael Van Canneyt wrote:
> > >Well, the unit is in the compiler directory, and is not meant for
> > >distribution.
> > >It can only be in the compiler directory, otherwise it's impossible to
> > >bootstrap the compiler (i.e. compile the compiler the first time).
> >
> >The RTL is always compiled before the compiler is, so the compiler can use
> >the "new" RTL.
> 
> It's not a good idea to make the compiler dependent on features not available
> in the RTL of the previous release, as this can complicate debugging quite a
> bit.

Indeed. In this particular case, the code duplication is just a safety
precaution. It also allows us to change the interface of the 'public'
ppu file at will, so it is more suitable for use in the IDE or whatever
library requires it.

Michael.



More information about the fpc-devel mailing list