Skip to content

Commit

Permalink
coq export: do not translate module names (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
fblanqui authored Jan 30, 2024
1 parent 2b8cfe4 commit 1e967ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/export/coq.ml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ let set_encoding : string -> unit = fun f ->
let translate_ident : string -> string = fun s ->
try StrMap.find s !rmap with Not_found -> s

let raw_ident : string pp = fun ppf s -> Print.uid ppf (translate_ident s)
let raw_ident : string pp = fun ppf s -> string ppf (translate_ident s)

let ident : p_ident pp = fun ppf {elt;_} -> raw_ident ppf elt

Expand All @@ -150,7 +150,7 @@ let param_id : p_ident option pp = fun ppf idopt ->

let param_ids : p_ident option list pp = List.pp param_id " "

let raw_path : Path.t pp = List.pp raw_ident "."
let raw_path : Path.t pp = List.pp string "."

let path : p_path pp = fun ppf {elt;_} -> raw_path ppf elt

Expand Down

0 comments on commit 1e967ad

Please sign in to comment.