[Lazarus] Using FPC parser/tokenizer for code formatting

Marco van de Voort marcov at stack.nl
Sun May 30 12:34:50 CEST 2010


On Sat, May 29, 2010 at 06:05:26PM +0200, Michael Van Canneyt wrote:
> > think something can be done there.  But I think it would yield more to
> > integrating fcl-passrc into the testsuite, and thus document the boundery
> > conditions of implemented constructs.
> 
> Well, given the recent breakage because of the support for 'deprecated',
> I started on a test file, but I think that a better and more fundamental
> approach is needed. My idea was to create a large number of small files
> with code fragments. The test application reads the fragments and puts
> them in a unit (interface/implementation) and attempts to scan/parse it.
> After that, it's just a matter of creating the code fragments.

Different discussion. That is for new tests specific for fcl-passrc. I'm
talking about stuffing the tests that we already have through it.




More information about the Lazarus mailing list