aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp/notation.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-03-01 16:02:34 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-03-01 16:02:34 +0100
commit124734fd2c523909802d095abb37350519856864 (patch)
tree177d3fe6ed5fe665a7151601802eb4bb09b9e0eb /interp/notation.ml
parent9e2ee5801ae37e54dfac34f27ed2f07bbb8322d3 (diff)
Useless check when loading notations through import.
Diffstat (limited to 'interp/notation.ml')
-rw-r--r--interp/notation.ml8
1 files changed, 0 insertions, 8 deletions
diff --git a/interp/notation.ml b/interp/notation.ml
index fa428f1b3..a9206b933 100644
--- a/interp/notation.ml
+++ b/interp/notation.ml
@@ -511,14 +511,6 @@ let availability_of_prim_token n printer_scope local_scopes =
(* Miscellaneous *)
-let exists_notation_in_scope scopt ntn r =
- let scope = match scopt with Some s -> s | None -> default_scope in
- try
- let sc = String.Map.find scope !scope_map in
- let (r',_) = String.Map.find ntn sc.notations in
- Pervasives.(=) r' r (** FIXME *)
- with Not_found -> false
-
let isNVar_or_NHole = function NVar _ | NHole _ -> true | _ -> false
(**********************************************************************)