X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matitaB%2Fcomponents%2Fng_tactics%2FnTacStatus.ml;h=3a07acc05a641de942ae1c88a2e507234d1a8384;hb=c8d73368c6279460b6525834895ee2d65be3bda3;hp=9a6358baaf3e98ee5d4de13bd12e3ee9c02e2e61;hpb=6d4277977478ef9bcadaffbef3d4bb04ac0250a5;p=helm.git diff --git a/matitaB/components/ng_tactics/nTacStatus.ml b/matitaB/components/ng_tactics/nTacStatus.ml index 9a6358baa..3a07acc05 100644 --- a/matitaB/components/ng_tactics/nTacStatus.ml +++ b/matitaB/components/ng_tactics/nTacStatus.ml @@ -72,10 +72,10 @@ class type g_pstatus = method obj: NCic.obj end -class virtual pstatus = +class virtual pstatus uid = fun (o: NCic.obj) -> object (self) - inherit GrafiteDisambiguate.status + inherit GrafiteDisambiguate.status uid inherit auto_status inherit eq_status val obj = o @@ -479,10 +479,10 @@ class type ['stack] g_status = method stack: 'stack end -class virtual ['stack] status = +class virtual ['stack] status uid = fun (o: NCic.obj) (s: 'stack) -> object (self) - inherit (pstatus o) + inherit (pstatus uid o) val stack = s method stack = stack method set_stack s = {< stack = s >} @@ -500,6 +500,8 @@ type 'status tactic = #tac_status as 'status -> 'status let pp_tac_status (status: #tac_status) = prerr_endline (status#ppobj status#obj); + (* let a,p = NCicParamod.size_of_state status#eq_cache in + prerr_endline ("number of actives: " ^ string_of_int a ^ "and number of passives: " ^ string_of_int p) *) prerr_endline ("STACK:\n" ^ Continuationals.Stack.pp status#stack) ;;