Commit 9bb268b5 authored by Raphael Rieu-Helft's avatar Raphael Rieu-Helft

Move the Ocaml printer to a precedence-based system

parent 41e5758e
......@@ -16,12 +16,6 @@ module ref.Ref
syntax val (:=) "%1 = %2" prec 14 13 14
end
module mach.int.Unsigned
syntax constant zero_unsigned "0"
end
module mach.int.Int32
syntax type int32 "int32_t"
......
This diff is collapsed.
......@@ -116,7 +116,7 @@ val gen_syntax_arguments_typed_prec :
val syntax_arguments_typed_prec :
string -> (int -> term Pp.pp) -> ty Pp.pp -> term -> int list -> term list Pp.pp
(** (syntax_arguments_typed templ print_arg prec_list fmt l) prints in the
(** (syntax_arguments_typed_prec templ print_arg prec_list fmt l) prints in the
formatter fmt the list l using the template templ, the printer print_arg
and the precedence list prec_list *)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment