let levels ppf elev =
let _ =
List.fold_left
(fun sep lev ->
(fprintf ppf "%t@[<v2>" sep;
(match lev.lname with
| Some n -> fprintf ppf "%S@;<1 2>" n
| None -> ());
(match lev.assoc with
| LeftA -> fprintf ppf "LEFTA"
| RightA -> fprintf ppf "RIGHTA"
| NonA -> fprintf ppf "NONA");
fprintf ppf "@]@;<1 2>";
fprintf ppf "@[<v2>suffix:@ ";
print_tree ppf lev.lsuffix;
fprintf ppf "@]@ @[<v2>prefix:@ ";
print_tree ppf lev.lprefix;
fprintf ppf "@]";
fun ppf -> fprintf ppf "@,| "))
(fun _ -> ()) elev
in ()