From: Stefano Zacchiroli Date: Mon, 4 Oct 2004 09:39:50 +0000 (+0000) Subject: - handle Box.Space in textual pretty printing X-Git-Tag: V_0_0_10~99 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=66354b59c5bbf75e0b008ed27b713ba47b9eaca9;p=helm.git - handle Box.Space in textual pretty printing --- diff --git a/helm/ocaml/cic_transformations/boxPp.ml b/helm/ocaml/cic_transformations/boxPp.ml index fd06a4203..ea6813cf2 100644 --- a/helm/ocaml/cic_transformations/boxPp.ml +++ b/helm/ocaml/cic_transformations/boxPp.ml @@ -29,7 +29,7 @@ let to_string object_to_string b = function [] -> layout := current_s::!layout | Box.Text (_,s)::tl -> aux_h (current_s ^ s) tl - | (Box.Space _)::_ -> assert false + | (Box.Space _)::tl -> aux_h (current_s ^ " ") tl | Box.H (_,bl)::tl -> aux_h current_s (bl@tl) | Box.V (_,[])::tl -> aux_h current_s tl | Box.V (_,[b])::tl -> aux_h current_s (b::tl)