aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/interface
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-08-11 10:00:59 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-08-11 10:00:59 +0000
commitcb84fd65bcc043e685ab83ae9dc7222a5b49263b (patch)
tree992fc7d42e2a3b4caaf7ce842b0bdd8aeafc640c /plugins/interface
parentbfb1a63aa4d5b3d2d3cc0da1ba44e1e9ab66f5a3 (diff)
Infix (r12268 continued)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12270 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/interface')
-rw-r--r--plugins/interface/xlate.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/interface/xlate.ml b/plugins/interface/xlate.ml
index 9629fa923..f60a9ee0b 100644
--- a/plugins/interface/xlate.ml
+++ b/plugins/interface/xlate.ml
@@ -2104,7 +2104,7 @@ let rec xlate_vernac =
CT_local_reserve_notation(translated_s, translated_modif_list)
else
CT_reserve_notation(translated_s, translated_modif_list)
- | VernacInfix (b,(str,modl),id, opt_scope) ->
+ | VernacInfix (b,(str,modl),CRef id, opt_scope) ->
let id1 = loc_qualid_to_ct_ID id in
let modl1 = CT_modifier_list(List.map xlate_syntax_modifier modl) in
let s = CT_string str in
@@ -2115,6 +2115,8 @@ let rec xlate_vernac =
CT_local_infix(s, id1,modl1, translated_scope)
else
CT_infix(s, id1,modl1, translated_scope)
+ | VernacInfix (b,(str,modl),_ , opt_scope) ->
+ xlate_error "TODO: Infix not ref"
| VernacCoercion (s, id1, id2, id3) ->
let id_opt = CT_coerce_NONE_to_IDENTITY_OPT CT_none in
let local_opt =