diff options
author | 2001-03-01 14:02:59 +0000 | |
---|---|---|
committer | 2001-03-01 14:02:59 +0000 | |
commit | 7b6ed1e95bef26f4ae85d7471985128c0dfdbc15 (patch) | |
tree | a2beab552c8e57d5db2833494e5cc79e6374cc84 /toplevel/metasyntax.ml | |
parent | 2a9a43be51ac61e04ebf3fce902899155b48057f (diff) |
Déplacement de qualid dans Nametab, hors du noyau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1419 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/metasyntax.ml')
-rw-r--r-- | toplevel/metasyntax.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toplevel/metasyntax.ml b/toplevel/metasyntax.ml index d0eb926a4..d95e254c8 100644 --- a/toplevel/metasyntax.ml +++ b/toplevel/metasyntax.ml @@ -224,8 +224,8 @@ let add_infix assoc n inf pr = errorlabstrm "Vernacentries.infix_grammar_entry" [< 'sTR"Associativity Precedence must be 6,7,8 or 9." >]; (* check the grammar entry *) - let prefast = Astterm.globalize_constr (Termast.ast_of_qualid pr) in - let prefname = (Names.string_of_qualid pr)^"_infix" in + let prefast = Termast.ast_of_ref pr in + let prefname = (Names.string_of_path (Global.sp_of_global pr))^"_infix" in let gram_rule = gram_infix assoc n (split inf) prefname prefast in (* check the syntax entry *) let syntax_rule = infix_syntax_entry assoc n inf prefname prefast in @@ -273,7 +273,7 @@ let distfix assoc n sl fname astf = } let add_distfix a n df f = - let fname = (Names.string_of_qualid f)^"_distfix" in - let astf = Astterm.globalize_constr (Termast.ast_of_qualid f) in + let fname = (Names.string_of_path (Global.sp_of_global f))^"_distfix" in + let astf = Termast.ast_of_ref f in Lib.add_anonymous_leaf (inInfix(distfix a n (split df) fname astf, [])) |