Skip to content

Commit

Permalink
Add support for OCaml 4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Mar 9, 2021
1 parent 09c5d54 commit dc84f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ppx_js_style.ml
Expand Up @@ -484,10 +484,10 @@ let () =
did up to now) had no incidence.
We want to enable the warning here. For some reason one can't just enable
a warning programatically, one has to call [parse_options]... *)
Ocaml_common.Warnings.parse_options false "+50"
ignore (Ocaml_common.Warnings.parse_options false "+50")

let () =
let disable_w50 () = Ocaml_common.Warnings.parse_options false "-50" in
let disable_w50 () = ignore (Ocaml_common.Warnings.parse_options false "-50") in
Driver.add_arg "-dont-check-doc-comments-attachment" (Unit disable_w50)
~doc:" ignore warning 50 on the file."
;;
Expand Down

0 comments on commit dc84f5c

Please sign in to comment.