Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/export/coq.ml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ let list elt sep oc xs =
(** Translation of identifiers. *)

let translate_ident : string -> string = fun s ->
try StrMap.find s !rmap with Not_found -> s
try StrMap.find s !rmap with Not_found ->
if StrMap.exists (fun _ id' -> s = id') !rmap then s ^ "__alt__" else s

let raw_ident oc s = string oc (translate_ident s)

Expand Down
Loading