This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
11
unikernel/duniverse/ocaml-cstruct/ppx_test/errors/pp.ml
Normal file
11
unikernel/duniverse/ocaml-cstruct/ppx_test/errors/pp.ml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(* we can just use exit from 4.07 onwards, but 4.06
|
||||
* and earlier executed at_exit recursively *)
|
||||
external sys_exit : int -> 'a = "caml_sys_exit"
|
||||
let () = at_exit (fun () -> sys_exit 0)
|
||||
|
||||
#if OCAML_VERSION >= (4,8,0)
|
||||
let () = Clflags.(error_style := Some Short)
|
||||
#endif
|
||||
|
||||
let () = Clflags.(color := Some Never)
|
||||
let () = Ppxlib.Driver.standalone ()
|
||||
Loading…
Add table
Add a link
Reference in a new issue