summaryrefslogtreecommitdiff
path: root/src/ast_util.mli
diff options
context:
space:
mode:
authorThomas Bauereiss2017-10-25 15:27:29 +0100
committerThomas Bauereiss2017-10-25 16:08:28 +0100
commit5fc7d18f2ab65100b2a0894daae874145b5d6813 (patch)
treee83b41db514e54c3e055da507a0e95d92f7e0fcc /src/ast_util.mli
parent4cbcf71c54628b13e6ced99b4c9ce1edbd1bffe1 (diff)
Allow mutually recursive functions
Diffstat (limited to 'src/ast_util.mli')
-rw-r--r--src/ast_util.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast_util.mli b/src/ast_util.mli
index abadd759..ef367e4e 100644
--- a/src/ast_util.mli
+++ b/src/ast_util.mli
@@ -140,6 +140,8 @@ val map_letbind_annot : ('a annot -> 'b annot) -> 'a letbind -> 'b letbind
val id_loc : id -> Parse_ast.l
val kid_loc : kid -> Parse_ast.l
+val def_loc : 'a def -> Parse_ast.l
+
(* For debugging and error messages only: Not guaranteed to produce
parseable SAIL, or even print all language constructs! *)
(* TODO: replace with existing pretty-printer *)