diff --git a/src/sail_json_backend/json.ml b/src/sail_json_backend/json.ml index 29bee37c9..917adf61a 100644 --- a/src/sail_json_backend/json.ml +++ b/src/sail_json_backend/json.ml @@ -673,8 +673,8 @@ let json_of_function k = let json_of_name k mnemonic = let name = - match Hashtbl.find_opt names k with - | None -> begin match Hashtbl.find_opt names mnemonic with None -> "TBD" | Some s -> String.escaped s end + match Hashtbl.find_opt names mnemonic with + | None -> begin match Hashtbl.find_opt names k with None -> "TBD" | Some s -> String.escaped s end | Some s -> String.escaped s in "\"" ^ name ^ "\""