Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
riaqn committed Feb 28, 2024
1 parent 1f23e3f commit 2f83930
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ocaml/parsing/jane_syntax.ml
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ module Mode_expr = struct

let mk txt loc : t = { txt; loc }

let ghostify {txt; loc} =
let ghostify { txt; loc } =
let loc = Location.ghostify loc in
{txt; loc}
{ txt; loc }
end

type t = Const.t list Location.loc
Expand Down Expand Up @@ -509,10 +509,10 @@ module Mode_expr = struct
let attr_loc = modes.loc in
Some { attr_name; attr_loc; attr_payload }

let ghostify {txt; loc} =
let ghostify { txt; loc } =
let loc = Location.ghostify loc in
let txt = List.map Const.ghostify txt in
{loc; txt}
{ loc; txt }
end

(** List and array comprehensions *)
Expand Down

0 comments on commit 2f83930

Please sign in to comment.