File tree 7 files changed +20
-3
lines changed
7 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 37
37
ocaml-version : ${{ matrix.ocaml-version }}
38
38
- run : opam pin add -n .
39
39
- name : Packages
40
- run : opam depext -yt cstruct cstruct-sexp cstruct-unix cstruct-lwt
40
+ run : opam depext -yt cstruct cstruct-sexp cstruct-unix cstruct-lwt ppx_cstruct
41
41
- name : Build
42
- run : opam install -t cstruct cstruct-sexp cstruct-unix cstruct-lwt
42
+ run : opam install -t cstruct cstruct-sexp cstruct-unix cstruct-lwt ppx_cstruct
43
43
async :
44
44
name : Async
45
45
runs-on : ${{ matrix.operating-system }}
Original file line number Diff line number Diff line change
1
+ v5.1.1 2019-11-23
2
+ -----------------
3
+
4
+ This is a point release to fix a regression in 5.1.0
5
+ on compilers earlier than 4.07.
6
+
7
+ The release also fixes the test suite and CI on compilers
8
+ greater than 4.07.
9
+
1
10
v5.1.0 2019-11-23
2
11
-----------------
3
12
Original file line number Diff line number Diff line change 3
3
(public_name ppx_cstruct)
4
4
(kind ppx_rewriter)
5
5
(wrapped false)
6
- (ppx_runtime_libraries cstruct)
6
+ (ppx_runtime_libraries cstruct stdlib-shims )
7
7
(preprocess
8
8
(pps ppx_tools_versioned.metaquot_404))
9
9
(libraries sexplib ocaml-migrate-parsetree ppx_tools_versioned
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ depends: [
25
25
"ppx_sexp_conv" {with-test}
26
26
"sexplib" {>="v0.9.0"}
27
27
"cstruct-sexp" {with-test}
28
+ "cppo" {with-test}
28
29
"cstruct-unix" {with-test & =version}
29
30
"stdlib-shims"
30
31
]
Original file line number Diff line number Diff line change 1
1
(executable
2
2
(name pp)
3
3
(modules pp)
4
+ (preprocess (action
5
+ (run %{bin:cppo} -V OCAML:%{ocaml_version} %{input-file})))
4
6
(libraries
5
7
ppx_cstruct
6
8
ocaml-migrate-parsetree))
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ let output_stanzas name =
19
19
20
20
let is_test = function
21
21
| "pp.ml" -> false
22
+ | "pp.pp.ml" -> false
22
23
| "gen_tests.ml" -> false
23
24
| e -> Filename. check_suffix e " .ml"
24
25
Original file line number Diff line number Diff line change 3
3
external sys_exit : int -> 'a = " caml_sys_exit"
4
4
let () = at_exit (fun () -> sys_exit 0 )
5
5
6
+ #if OCAML_VERSION > = (4 ,8 ,0 )
7
+ let () = Clflags. (error_style := Some Short )
8
+ #endif
9
+
6
10
let () = Migrate_parsetree.Driver. run_main ()
You can’t perform that action at this time.
0 commit comments