From 64270c153f1b884eee201ab5eb5681ce61e7054e Mon Sep 17 00:00:00 2001 From: msozeau Date: Mon, 31 Mar 2008 12:13:43 +0000 Subject: - Fix for rewriting under dependent products. - Use support for abbreviations with params added by Hugo for inverse. - Standard priorities for operators on relations. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10733 85f007b7-540e-0410-9357-904b9bb8a0f7 --- interp/implicit_quantifiers.ml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'interp') diff --git a/interp/implicit_quantifiers.ml b/interp/implicit_quantifiers.ml index 8f42d76c28..c86a2428c0 100644 --- a/interp/implicit_quantifiers.ml +++ b/interp/implicit_quantifiers.ml @@ -31,15 +31,12 @@ let ids_of_list l = let locate_reference qid = match Nametab.extended_locate qid with - | TrueGlobal ref -> ref - | SyntacticDef kn -> - match Syntax_def.search_syntactic_definition dummy_loc kn with - | [],ARef ref -> ref - | _ -> raise Not_found + | TrueGlobal ref -> true + | SyntacticDef kn -> true let is_global id = try - let _ = locate_reference (make_short_qualid id) in true + locate_reference (make_short_qualid id) with Not_found -> false -- cgit v1.2.3