Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cmester0 committed Nov 25, 2024
1 parent 02248e2 commit eeedd11
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engine/backends/coq/coq/coq_backend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,10 @@ struct
^^ string "%float"

method literal_Int ~value ~negative ~kind =
parens((if negative then !^"-" else empty) ^^ string value ^^ colon ^^ space ^^ !^"t_" ^^ string (show_int_kind kind))
parens
((if negative then !^"-" else empty)
^^ string value ^^ colon ^^ space ^^ !^"t_"
^^ string (show_int_kind kind))

method literal_String x1 = string "\"" ^^ string x1 ^^ string "\"%string"

Expand Down Expand Up @@ -1023,7 +1026,7 @@ let translate m _ ~bundles:_ (items : AST.item list) : Types.file list =
let sourcemap, contents =
let annotated = my_printer#entrypoint_modul items in
let open Generic_printer.AnnotatedString in
let header = pure (hardcoded_coq_headers) in
let header = pure hardcoded_coq_headers in
let annotated = concat header annotated in
(to_sourcemap annotated, to_string annotated)
in
Expand Down

0 comments on commit eeedd11

Please sign in to comment.