From 66354b59c5bbf75e0b008ed27b713ba47b9eaca9 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Mon, 4 Oct 2004 09:39:50 +0000 Subject: [PATCH] - handle Box.Space in textual pretty printing --- helm/ocaml/cic_transformations/boxPp.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2