aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/metasyntax.ml
diff options
context:
space:
mode:
authorGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-12-06 17:36:14 +0000
committerGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-12-06 17:36:14 +0000
commita59b644de4234fb7fe3fce28284979091f257130 (patch)
treed5d8ff609aa9e4e582a06ca865a94eee1edbf182 /toplevel/metasyntax.ml
parent3e3fa18a066feae44c10fc6e072059f4e9914656 (diff)
Plus de combinateurs sont passés de Util à Option. Le module Options
devient Flags. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10348 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/metasyntax.ml')
-rw-r--r--toplevel/metasyntax.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/toplevel/metasyntax.ml b/toplevel/metasyntax.ml
index 7ebf3dfa9..d9a82a413 100644
--- a/toplevel/metasyntax.ml
+++ b/toplevel/metasyntax.ml
@@ -74,7 +74,7 @@ let (inTacticGrammar, outTacticGrammar) =
let cons_production_parameter l = function
| VTerm _ -> l
- | VNonTerm (_,_,ido) -> option_cons ido l
+ | VNonTerm (_,_,ido) -> Option.List.cons ido l
let rec tactic_notation_key = function
| VTerm id :: _ -> id
@@ -755,7 +755,7 @@ let find_precedence lev etyps symbols =
error "The level of the leftmost non-terminal cannot be changed"
| ETIdent | ETBigint | ETReference ->
if lev = None then
- Options.if_verbose msgnl (str "Setting notation at level 0")
+ Flags.if_verbose msgnl (str "Setting notation at level 0")
else
if lev <> Some 0 then
error "A notation starting with an atomic expression must be at level 0";
@@ -773,7 +773,7 @@ let find_precedence lev etyps symbols =
(match list_last symbols with Terminal _ -> true |_ -> false)
->
if lev = None then
- (Options.if_verbose msgnl (str "Setting notation at level 0"); 0)
+ (Flags.if_verbose msgnl (str "Setting notation at level 0"); 0)
else Option.get lev
| _ ->
if lev = None then error "Cannot determine the level";