[Lazarus] Parser
Marco van de Voort
marcov at stack.nl
Thu Jul 1 10:51:39 CEST 2010
On Thu, Jul 01, 2010 at 09:34:12AM +0200, Michael Schnell wrote:
> On 07/01/2010 08:26 AM, Marco van de Voort wrote:
> > Since accessing header files is repeated as possible advantage files again
> > and again,
> In fact I already missed sadly a fully working preprocessor (to be
> activated optionally). This does help with Pascal sources from time to
> time (in fact I do like macros better than generics :) ).
Preprocessor is very attractive, because it fits the "edit and change"
metaphore. Technically they are disaster though.
> I don't see why simply calling the gcc preprocessor is not a viable
> option (at least with Lazarus on Linux). Supposedly for a better
> integration a Pascal based workalike preprocessor might be better.
Ask yourself why GCC doesn't have preprocessed headers, and you'll find the
answer. YOu would need to ensure that the preprocessed state is entirely the
same before using a precompiled unit.
More information about the Lazarus
mailing list