Skip to content

Commit c033d6c

Browse files
ruipedro16strub
authored andcommitted
Pretty printer: print terminator after module types
1 parent 7e6bf73 commit c033d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ecPrinting.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3249,15 +3249,15 @@ let pp_modsig ?(long=false) ppe fmt (p,ms) =
32493249
Format.fprintf fmt "(* %a *)@ " EcSymbols.pp_qsymbol qs in
32503250

32513251
Format.fprintf fmt
3252-
"@[<v>@[<hv 2>%amodule type %s%t@;<0 -2>@] = {@, @[<v>%a@]@,}@]"
3252+
"@[<v>@[<hv 2>%amodule type %s%t@;<0 -2>@] = {@, @[<v>%a@]@,}.@]"
32533253
pp_long p
32543254
(EcPath.basename p) pp
32553255
(pp_list "@,@," (pp_sigitem (Some ms.mis_oinfos) ppe)) ms.mis_body
32563256

32573257
(* Printing of a module signature with no restrictions. *)
32583258
let pp_modsig_smpl ppe fmt (p,ms) =
32593259
let (ppe,pp) = pp_mod_params ppe ms.miss_params in
3260-
Format.fprintf fmt "@[<v>module type %s%t = {@, @[<v>%a@]@,}@]"
3260+
Format.fprintf fmt "@[<v>module type %s%t = {@, @[<v>%a@]@,}.@]"
32613261
(EcPath.basename p) pp
32623262
(pp_list "@,@," (pp_sigitem None ppe)) ms.miss_body
32633263

0 commit comments

Comments
 (0)