Florian Klaempfl schrieb:

I doubt this, just one example: ptconst.pas: it parses typed constants. Due being tailored for the compiler, it reads the constants and writes them without any second pass to the output assembler list. A generic parser needs to create first some kind of parse tree and this parse tree needs to be outputted in a second pass.

This is what virtual methods are good for.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to