From 145bd37bb83b41749b7e95f535569c249e98df38 Mon Sep 17 00:00:00 2001 From: pboutill Date: Mon, 6 Aug 2012 15:25:18 +0000 Subject: Vecnacentries.dump_global silently ignores exceptions So PrintName and Extraction dump globals when they exist git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15691 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/extraction/extract_env.ml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/extraction/extract_env.ml b/plugins/extraction/extract_env.ml index 82ddf46a2d..df1557481b 100644 --- a/plugins/extraction/extract_env.ml +++ b/plugins/extraction/extract_env.ml @@ -574,12 +574,8 @@ let separate_extraction lr = (*s Simple extraction in the Coq toplevel. The vernacular command is \verb!Extraction! [qualid]. *) -let dump_global r = - let gr = Smartlocate.global_with_alias r in - Dumpglob.add_glob (loc_of_reference r) gr - let simple_extraction r = - dump_global r; + Vernacentries.dump_global (Misctypes.AN r); match locate_ref [r] with | ([], [mp]) as p -> full_extr None p | [r],[] -> -- cgit v1.2.3