From 36c448f43c7fa16163b543b941be4a917a712a37 Mon Sep 17 00:00:00 2001 From: msozeau Date: Tue, 27 Oct 2009 19:43:51 +0000 Subject: Add a new vernacular command for controling implicit generalization of variables with syntax: [Local?|Global] Generalizable Variable(s)? [all|none|id1 idn]. By default no variable is generalizable, so this patch breaks backward compatibility with files that used implicit generalization (through Instance declarations for example). To get back the old behavior, one just needs to use [Global Generalizable Variables all]. Make coq_makefile more robust using [mkdir -p]. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12428 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/interface/xlate.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/interface') diff --git a/plugins/interface/xlate.ml b/plugins/interface/xlate.ml index b4e0e69bbf..627cd517c3 100644 --- a/plugins/interface/xlate.ml +++ b/plugins/interface/xlate.ml @@ -2183,6 +2183,7 @@ let rec xlate_vernac = List.map (fun (_,x) -> xlate_ident x) l), xlate_formula f) | VernacReserve([], _) -> assert false + | VernacGeneralizable (_, _) -> xlate_error "TODO: Generalizable" | VernacLocate(LocateTerm id) -> CT_locate(loc_smart_global_to_ct_ID id) | VernacLocate(LocateLibrary id) -> CT_locate_lib(reference_to_ct_ID id) | VernacLocate(LocateModule _) -> xlate_error "TODO: Locate Module" -- cgit v1.2.3