diff options
| author | herbelin | 2006-01-04 19:12:19 +0000 |
|---|---|---|
| committer | herbelin | 2006-01-04 19:12:19 +0000 |
| commit | 90963f51d1a853040f23370d7c911502fa9740da (patch) | |
| tree | b647272b8dc88ce05f71d781e83d0ddba788d158 /dev | |
| parent | d9552de21522f19f7656a6b635dee1e325262e09 (diff) | |
Restauration des commandes de débogage PrintConstr et PrintPureConstr (suite): correction des dépendances (et notamment non-dépendance en unix.cma) pour la création de printers.cma
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7787 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/top_printers.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml index 8a5ff983d1..4bf879e85b 100644 --- a/dev/top_printers.ml +++ b/dev/top_printers.ml @@ -309,7 +309,9 @@ let pploc x = let (l,r) = unloc x in (* Vernac-level debugging commands *) let in_current_context f c = - let (evmap,sign) = Command.get_current_context () in + let (evmap,sign) = + try Pfedit.get_current_goal_context () + with e when Logic.catchable_exception e -> (Evd.empty, Global.env()) in f (Constrintern.interp_constr evmap sign c) (* We expand the result of preprocessing to be independent of camlp4 |
