We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93d003f commit f70ca1dCopy full SHA for f70ca1d
rewriter.ml
@@ -92,13 +92,13 @@ let () =
92
| `Struct ->
93
let pstr = Parse.implementation lexer in
94
let pstr = Pparse.apply_rewriters (* ~restore:true *) ~tool_name:!tool_name
95
- Config.ast_impl_magic_number pstr in
+ Pparse.Structure pstr in
96
Pprintast.structure fmt pstr;
97
Format.pp_print_newline fmt ()
98
| `Sig ->
99
let psig = Parse.interface lexer in
100
let psig = Pparse.apply_rewriters (* ~restore:true *) ~tool_name:!tool_name
101
- Config.ast_intf_magic_number psig in
+ Pparse.Signature psig in
102
Pprintast.signature fmt psig;
103
Format.pp_print_newline fmt ())
104
with exn ->
0 commit comments