From e7cdfe59c4bb2cfe700c8e8e7abf3f2a75aa1bd6 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Sun, 24 Nov 2019 17:34:13 +0000 Subject: [PATCH] update CHANGES and fix the version calculation for the error changes --- CHANGES.md | 9 +++++++++ ppx_test/errors/pp.ml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8d5b2911..0ba0c32a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ +v5.1.1 2019-11-23 +----------------- + +This is a point release to fix a regression in 5.1.0 +on compilers earlier than 4.07. + +The release also fixes the test suite and CI on compilers +greater than 4.07. + v5.1.0 2019-11-23 ----------------- diff --git a/ppx_test/errors/pp.ml b/ppx_test/errors/pp.ml index 4752df42..d10d27b8 100644 --- a/ppx_test/errors/pp.ml +++ b/ppx_test/errors/pp.ml @@ -3,7 +3,7 @@ external sys_exit : int -> 'a = "caml_sys_exit" let () = at_exit (fun () -> sys_exit 0) -#if OCAML_VERSION >= (4,7,0) +#if OCAML_VERSION >= (4,8,0) let () = Clflags.(error_style := Some Short) #endif