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.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to