diff --git a/CHANGES.md b/CHANGES.md index 43f11feb..86523954 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,8 @@ unreleased - Add `Attribute.declare_with_attr_loc` (#396, @dvulakh) +- Add "ns" and "res" as reserved namespaces(#388, @davesnx) + 0.29.1 (14/02/2023) ------------------ diff --git a/src/name.ml b/src/name.ml index e7479ca1..5ad5ea86 100644 --- a/src/name.ml +++ b/src/name.ml @@ -118,7 +118,9 @@ module Reserved_namespaces = struct let reserve ns = Hashtbl.add_exn tbl ~key:ns ~data:() let () = reserve "merlin" let () = reserve "reason" - let () = reserve "refmt" + let () = reserve "refmt" (* reason *) + let () = reserve "ns" (* rescript *) + let () = reserve "res" (* rescript *) let () = reserve "metaocaml" let () = reserve "ocamlformat"