aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorherbelin2009-08-06 19:20:38 +0000
committerherbelin2009-08-06 19:20:38 +0000
commitfa87b9196df910caa4cb085f9dee69ca58df0c34 (patch)
tree6708cb73f9e8622e6e3ba71ddcf400e91e084f51 /plugins
parentffa57bae1e18fd52d63e8512a352ac63db15a7a9 (diff)
Cleaning of Nametab continued + fixed a compilation bug in previous commit.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12266 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
-rw-r--r--plugins/extraction/table.ml2
-rw-r--r--plugins/interface/centaur.ml42
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/extraction/table.ml b/plugins/extraction/table.ml
index 13a730ac20..e6d6344665 100644
--- a/plugins/extraction/table.ml
+++ b/plugins/extraction/table.ml
@@ -204,7 +204,7 @@ let safe_pr_long_global r =
| _ -> assert false
let pr_long_mp mp =
- let lid = repr_dirpath (Nametab.dir_of_mp mp) in
+ let lid = repr_dirpath (Nametab.dirpath_of_module mp) in
str (String.concat "." (List.map string_of_id (List.rev lid)))
let pr_long_global ref = pr_path (Nametab.path_of_global ref)
diff --git a/plugins/interface/centaur.ml4 b/plugins/interface/centaur.ml4
index c8fc7bdf3a..ee46cef8b2 100644
--- a/plugins/interface/centaur.ml4
+++ b/plugins/interface/centaur.ml4
@@ -146,7 +146,7 @@ let ctf_acknowledge_command request_id command_count opt_exn =
g_count, !current_goal_index
else
(0, 0)
- and statnum = Lib.current_state_label ()
+ and statnum = Lib.current_command_label ()
and dpth = let d = Pfedit.current_proof_depth() in if d >= 0 then d else 0
and pending = CT_id_list (List.map xlate_ident (Pfedit.get_all_proof_names())) in
(ctf_header "acknowledge" request_id ++