github ned14/pcpp v1.22

latest release: v1.30
3 years ago

v1.22 (19th October 2020):

  • Fix bug where outputting to stdout did not combine with anything which
    printed to stdout. Thanks to Fondesa for reporting this.
  • Fix extra newlines being inserted after a multiline comment. Thanks to virtuald
    for sending a PR fixing this.
  • Fix not being able to actually specify an empty line directive. Thanks to kuri65536
    for sending a PR fixing this.
  • Update ply submodule to latest from trunk.
  • Emit line continuations as tokens, rather than collapsing lines during parsing.
    Thanks to MathieuDuponchelle for the pull request implementing this.
  • Enable parsing and emission of files in arbitrary text encodings. This is supported
    in Python 3 or later only. Thanks to MathieuDuponchelle for the suggestion.
  • Fix bad regex for parsing floats, so now floats are correctly tokenised. Thanks
    to LynnKirby for reporting this.
  • BREAKING CHANGE: Passthrough for #include MACRO was not supported. This was not
    intentional, and to fix it required modifying the on_include_not_found()
    customisation point which is a source breaking change. Thanks to schra for reporting this.

Don't miss a new pcpp release

NewReleases is sending notifications on new releases.