File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,15 @@ and cmi_magic_number = "Caml1999I029"
96
96
and cmo_magic_number = "Caml1999O029"
97
97
and cma_magic_number = "Caml1999A029"
98
98
and cmx_magic_number =
99
- if flambda then
100
- "Caml1999y029 "
99
+ if flambda || flambda2 then
100
+ "Caml2021y029 "
101
101
else
102
- "Caml1999Y029 "
102
+ "Caml2021Y029 "
103
103
and cmxa_magic_number =
104
- if flambda then
105
- "Caml1999z029 "
104
+ if flambda || flambda2 then
105
+ "Caml2021z029 "
106
106
else
107
- "Caml1999Z029 "
107
+ "Caml2021Z029 "
108
108
and ast_impl_magic_number = "Caml1999M029"
109
109
and ast_intf_magic_number = "Caml1999N029"
110
110
and cmxs_magic_number = "Caml1999D029"
Original file line number Diff line number Diff line change @@ -981,10 +981,10 @@ module Magic_number = struct
981
981
| "Caml1999I" -> Some Cmi
982
982
| "Caml1999O" -> Some Cmo
983
983
| "Caml1999A" -> Some Cma
984
- | "Caml1999y " -> Some (Cmx {flambda = true })
985
- | "Caml1999Y " -> Some (Cmx {flambda = false })
986
- | "Caml1999z " -> Some (Cmxa {flambda = true })
987
- | "Caml1999Z " -> Some (Cmxa {flambda = false })
984
+ | "Caml2021y " -> Some (Cmx {flambda = true })
985
+ | "Caml2021Y " -> Some (Cmx {flambda = false })
986
+ | "Caml2021z " -> Some (Cmxa {flambda = true })
987
+ | "Caml2021Z " -> Some (Cmxa {flambda = false })
988
988
989
989
(* Caml2007D and Caml2012T were used instead of the common Caml1999 prefix
990
990
between the introduction of those magic numbers and October 2017
@@ -1009,12 +1009,12 @@ module Magic_number = struct
1009
1009
| Cma -> " Caml1999A"
1010
1010
| Cmx config ->
1011
1011
if config.flambda
1012
- then " Caml1999y "
1013
- else " Caml1999Y "
1012
+ then " Caml2021y "
1013
+ else " Caml2021Y "
1014
1014
| Cmxa config ->
1015
1015
if config.flambda
1016
- then " Caml1999z "
1017
- else " Caml1999Z "
1016
+ then " Caml2021z "
1017
+ else " Caml2021Z "
1018
1018
| Cmxs -> " Caml1999D"
1019
1019
| Cmt -> " Caml1999T"
1020
1020
| Ast_impl -> " Caml1999M"
You can’t perform that action at this time.
0 commit comments