Skip to content

Commit 6677c50

Browse files
committed
add jane prefix
1 parent 1ac25f3 commit 6677c50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ocaml/parsing/jane_syntax.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module Make_payload_protocol_of_stringable (Stringable : Stringable) :
211211
let structure_item_of_none =
212212
{ pstr_desc =
213213
Pstr_attribute
214-
{ attr_name = Location.mknoloc "none";
214+
{ attr_name = Location.mknoloc "jane.none";
215215
attr_payload = PStr [];
216216
attr_loc = Location.none
217217
};
@@ -278,7 +278,8 @@ module Make_payload_protocol_of_stringable (Stringable : Stringable) :
278278
| _ -> raise Unexpected
279279

280280
let is_none_structure_item = function
281-
| { pstr_desc = Pstr_attribute { attr_name = { txt = "none" } } } ->
281+
| { pstr_desc = Pstr_attribute { attr_name = { txt = "jane.none" } } }
282+
->
282283
true
283284
| _ -> false
284285

0 commit comments

Comments
 (0)