Skip to content

Commit 1269571

Browse files
authored
flambda-backend: Expose a couple more functions from Pprintast (#1731)
This way they can be used by Ppxlib
1 parent 159adbe commit 1269571

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

parsing/pprintast.ml

+2
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,9 @@ let class_field = class_field reset_ctxt
20032003
let class_type_field = class_type_field reset_ctxt
20042004
let class_expr = class_expr reset_ctxt
20052005
let class_type = class_type reset_ctxt
2006+
let class_signature = class_signature reset_ctxt
20062007
let structure_item = structure_item reset_ctxt
20072008
let signature_item = signature_item reset_ctxt
20082009
let binding = binding reset_ctxt
20092010
let payload = payload reset_ctxt
2011+
let type_declaration = type_declaration reset_ctxt

parsing/pprintast.mli

+3
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ val structure_item: Format.formatter -> Parsetree.structure_item -> unit
4949
val signature_item: Format.formatter -> Parsetree.signature_item -> unit
5050
val binding: Format.formatter -> Parsetree.value_binding -> unit
5151
val payload: Format.formatter -> Parsetree.payload -> unit
52+
53+
val class_signature: Format.formatter -> Parsetree.class_signature -> unit
54+
val type_declaration: Format.formatter -> Parsetree.type_declaration -> unit

0 commit comments

Comments
 (0)