diff options
author | 2011-02-14 09:15:15 +0000 | |
---|---|---|
committer | 2011-02-14 09:15:15 +0000 | |
commit | e4c7ad09b0be022a59760d78cc382687294c9350 (patch) | |
tree | b14654a6c6106a9f27b388e0cd65509a7c77a82c /parsing/g_proofs.ml4 | |
parent | 77b0b252f3ce600e1c70e613af878e74439a585b (diff) |
- Fix treatment of globality flag for typeclass instance hints (they
were all declared as global).
- Add possibility to remove hints (Resolve or Immediate only) based on
the name of the lemma.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13842 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/g_proofs.ml4')
-rw-r--r-- | parsing/g_proofs.ml4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parsing/g_proofs.ml4 b/parsing/g_proofs.ml4 index 2b6759aed..3139f5759 100644 --- a/parsing/g_proofs.ml4 +++ b/parsing/g_proofs.ml4 @@ -85,6 +85,8 @@ GEXTEND Gram | IDENT "Create"; IDENT "HintDb" ; id = IDENT ; b = [ "discriminated" -> true | -> false ] -> VernacCreateHintDb (use_module_locality (), id, b) + | IDENT "Remove"; IDENT "Hints"; ids = LIST1 global; dbnames = opt_hintbases -> + VernacRemoveHints (use_module_locality (), dbnames, ids) | IDENT "Hint"; local = obsolete_locality; h = hint; dbnames = opt_hintbases -> VernacHints (enforce_module_locality local,dbnames, h) |