Op 2020-08-18 om 23:01 schreef Sven Barth via fpc-pascal:


    I see what I can do with ptop config and if need be see what it will
    take to improve ptop. Or investigate starting over with pparser,
    pastree, paswrite, as I'm already looking at those for some other
    things.
    https://wiki.lazarus.freepascal.org/fcl-passrc


Might be the even better solution as fcl-passrc will be better maintained due to it being used for both the documentation utility fpdoc as well as pas2js.

Parsers for compilers or source transformation usually discard whitespace asap, while editor and formatting parsers don't. Usually they are different beasts.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to