diff options
| author | msozeau | 2009-10-27 19:43:51 +0000 |
|---|---|---|
| committer | msozeau | 2009-10-27 19:43:51 +0000 |
| commit | 36c448f43c7fa16163b543b941be4a917a712a37 (patch) | |
| tree | 73affd4fede1fea0dd56a2600bc420de769432e2 /plugins/interface | |
| parent | 3178c7a29ff8b57a4598c4c5ded2eb29b8067dcf (diff) | |
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
Diffstat (limited to 'plugins/interface')
| -rw-r--r-- | plugins/interface/xlate.ml | 1 |
1 files changed, 1 insertions, 0 deletions
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" |
