From 25dde2366a4db47e5da13b2bbe4d03a31235706f Mon Sep 17 00:00:00 2001 From: herbelin Date: Sun, 2 Aug 2009 19:51:48 +0000 Subject: 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 --- ide/coq.ml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ide') diff --git a/ide/coq.ml b/ide/coq.ml index 5572dd8aee..d81bb42f24 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 _ -> [] -- cgit v1.2.3