Fixes
- C/C++/Java: escape newline etc. when printing
String
andChar
literals [#449] - Java/ANTLR: unescape
String
andChar
literals in parser (needs Java ≥ 15) [#451] - Java/ANTLR: fix case problem with language names like
C
[#455] - Java with line numbers: compatibility with
jflex
≥ 1.8 [#453] - Haskell/GADT: generated
ComposOp.hs
no longer needsmtl
library [#438] - Ocaml: fixed a crash in printer with unbalanced
}
[#439] - Ocaml: lex escape sequences in
Char
[#452] - Ocaml: removed superfluous
let rec
in the printers for token categories
Tested GHC versions:
- with
cabal
, GHC 7.10 - 9.6 - with
stack
, GHC 8.2 - 9.6
What's Changed (autogenerated from PRs)
- Haskell/GADT: produce mtl-2.3 compatible code by @andreasabel in #438
- Fix #439: Ocaml/printer: catch negative indentation by @andreasabel in #440
- Fix: #437: enable doctest for GHC 9.6.1 in Haskell-CI by @andreasabel in #441
- Simplify definition of internal function
columns
by @ivanperez-keera in #442 - Fix for Dockerfile smell DL3059 by @grosa1 in #444
- Haskell/Printer: showString t [] is just t by @andreasabel in #446
- various: fix typos by @p-linnane in #448
New Contributors
- @ivanperez-keera made their first contribution in #442
- @grosa1 made their first contribution in #444
- @p-linnane made their first contribution in #448
Full Changelog: v2.9.4.1...v2.9.5