diff options
author | 2009-08-02 19:51:48 +0000 | |
---|---|---|
committer | 2009-08-02 19:51:48 +0000 | |
commit | 25dde2366a4db47e5da13b2bbe4d03a31235706f (patch) | |
tree | 5fe442297f6aabf515ce4aad817e31818fb4deb0 /ide | |
parent | 581223c7fc607b5121013928fd83606b82ea8531 (diff) |
Improved parameterization of Coq:
- add coqtop option "-compat X.Y" so as to provide compatibility with
previous versions of Coq (of course, this requires to take care of
providing flags for controlling changes of behaviors!),
- add support for option names made of an arbitrary length of words
(instead of one, two or three words only),
- add options for recovering 8.2 behavior for discriminate, tauto,
evar unification ("Set Tactic Evars Pattern Unification", "Set
Discriminate Introduction", "Set Intuition Iff Unfolding").
Update of .gitignore
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12258 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide')
-rw-r--r-- | ide/coq.ml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ide/coq.ml b/ide/coq.ml index 5572dd8ae..d81bb42f2 100644 --- a/ide/coq.ml +++ b/ide/coq.ml @@ -156,10 +156,7 @@ let prepare_option (l,dft) = let unset = (String.concat " " ("Unset"::l)) ^ "." in if dft then unset,set else set,unset -let coqide_known_option = function - | Goptions.TertiaryTable (a,b,c) -> List.mem [a;b;c] !known_options - | Goptions.SecondaryTable (a,b) -> List.mem [a;b] !known_options - | Goptions.PrimaryTable a -> List.mem [a] !known_options +let coqide_known_option table = List.mem table !known_options let with_printing_implicit = prepare_option printing_implicit_data let with_printing_coercions = prepare_option printing_coercions_data @@ -278,8 +275,7 @@ let rec attribute_of_vernac_command = function | VernacDeclareImplicits _ -> [] | VernacReserve _ -> [] | VernacSetOpacity _ -> [] - | VernacSetOption (Goptions.SecondaryTable ("Ltac","Debug"), _) -> - [DebugCommand] + | VernacSetOption (["Ltac";"Debug"], _) -> [DebugCommand] | VernacSetOption (o,BoolValue true) | VernacUnsetOption o -> if coqide_known_option o then [KnownOptionCommand] else [] | VernacSetOption _ -> [] |