]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/helena/src/basic_rg/brgOutput.ml
- conditional compilation continues ...
[helm.git] / helm / software / helena / src / basic_rg / brgOutput.ml
index 0c692045ed7db3e6c7f13a9ffc7e196ee65e18d0..f8d8e642b44aea3ee6ed66d0cce22f6bbd4ec4aa 100644 (file)
@@ -52,6 +52,8 @@ let initial_counters = {
    uris = []; nodes = 0; xnodes = 0
 }
 
+IFDEF SUMMARY THEN
+
 let rec count_term_binder f c e = function
    | B.Abst (_, _, w) ->
       let c = {c with tabsts = succ c.tabsts; nodes = succ c.nodes} in
@@ -127,6 +129,8 @@ let print_counters f c =
    L.warn level (KP.sprintf "    + Abbreviation nodes:   %7u" nodes);
    f ()
 
+END
+
 (* lenv/term pretty printing ************************************************)
 
 let name err och a =
@@ -191,7 +195,11 @@ let specs = {
    L.pp_term = pp_term; L.pp_lenv = pp_lenv
 }
 
+IFDEF OBJECTS THEN
+
 (* term xml printing ********************************************************)
 
 let export_term st =
    BD.crg_of_brg (XD.export_term st)  
+
+END