Op 2020-08-18 om 23:01 schreef Sven Barth via fpc-pascal:
Parsers for compilers or source transformation usually discard whitespace asap, while editor and formatting parsers don't. Usually they are different beasts.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-passrcMight 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.
_______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
