Skip to content

Commit f70ca1d

Browse files
committed
Adapt to OCaml trunk.
1 parent 93d003f commit f70ca1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rewriter.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ let () =
9292
| `Struct ->
9393
let pstr = Parse.implementation lexer in
9494
let pstr = Pparse.apply_rewriters (* ~restore:true *) ~tool_name:!tool_name
95-
Config.ast_impl_magic_number pstr in
95+
Pparse.Structure pstr in
9696
Pprintast.structure fmt pstr;
9797
Format.pp_print_newline fmt ()
9898
| `Sig ->
9999
let psig = Parse.interface lexer in
100100
let psig = Pparse.apply_rewriters (* ~restore:true *) ~tool_name:!tool_name
101-
Config.ast_intf_magic_number psig in
101+
Pparse.Signature psig in
102102
Pprintast.signature fmt psig;
103103
Format.pp_print_newline fmt ())
104104
with exn ->

0 commit comments

Comments
 (0)