[Lazarus] Using FPC parser/tokenizer for code formatting

Adem listmember at letterboxes.org
Fri May 28 16:38:07 CEST 2010


>> But, I am hoping to modify the FPC parser/tokenizer so that instead 
>> of it deciding whether to stop, it should do a callback and let the 
>> caller decide whether it should stop.
>>
>> Is this likely to be unworthy of the effort?
> No, but it is hard to do in a meaningful way.
Could you (or someone else) point me to the source files of FPC 
parser/tokenizer please.

I can guess that it won't be easy; but if it can be done, I think it 
should be.

It is the only way the code formatter can keep up with new features of FPC.




More information about the Lazarus mailing list