summaryrefslogtreecommitdiff
path: root/src/rewriter.mli
diff options
context:
space:
mode:
authorThomas Bauereiss2017-10-13 15:46:53 +0100
committerThomas Bauereiss2017-10-13 17:23:39 +0100
commit2ced2254c30061598a3e30f19131122213f3c18b (patch)
tree0bf3953156201d296830167692529f3e1c60e8b8 /src/rewriter.mli
parent31b19d42bba272eb358887ab31cb4e221c51060c (diff)
Improve debugging output
With -ddump_rewrite_ast, pretty-print Sail code after each rewriting step in addition to dumping the AST.
Diffstat (limited to 'src/rewriter.mli')
-rw-r--r--src/rewriter.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rewriter.mli b/src/rewriter.mli
index 4b667793..1c3e8fae 100644
--- a/src/rewriter.mli
+++ b/src/rewriter.mli
@@ -56,8 +56,8 @@ type 'a rewriters = { rewrite_exp : 'a rewriters -> 'a exp -> 'a exp;
val rewrite_exp : tannot rewriters -> tannot exp -> tannot exp
val rewrite_defs : tannot defs -> tannot defs
-val rewrite_defs_ocaml : (tannot defs -> tannot defs) list (*Perform rewrites to exclude AST nodes not supported for ocaml out*)
-val rewrite_defs_lem : (tannot defs -> tannot defs) list (*Perform rewrites to exclude AST nodes not supported for lem out*)
+val rewrite_defs_ocaml : (string * (tannot defs -> tannot defs)) list (*Perform rewrites to exclude AST nodes not supported for ocaml out*)
+val rewrite_defs_lem : (string * (tannot defs -> tannot defs)) list (*Perform rewrites to exclude AST nodes not supported for lem out*)
(* the type of interpretations of pattern-matching expressions *)
type ('a,'pat,'pat_aux,'fpat,'fpat_aux) pat_alg =