123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899(**************************************************************************)(* *)(* OCaml *)(* *)(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)(* *)(* Copyright 1996 Institut National de Recherche en Informatique et *)(* en Automatique. *)(* *)(* All rights reserved. This file is distributed under the terms of *)(* the GNU Lesser General Public License version 2.1, with the *)(* special exception on linking described in the file LICENSE. *)(* *)(**************************************************************************)(***********************************************************************)(** **)(** WARNING WARNING WARNING **)(** **)(** When you change this file, you must make the parallel change **)(** in config.mlbuild **)(** **)(***********************************************************************)(* merlin-jst: All magic numbers ending in `500` (or higher) should not change when we
upgrade the upstream Merlin version. Otherwise, this should track
`utils/config.mlp` from the compiler. Also, the above warning comment about
`config.mlbuild` is outdated and can be ignored. *)(* The main OCaml version string has moved to ../VERSION *)letversion=Sys.ocaml_version(* When bumping this number, be sure to also update ../typing/magic_numbers.ml *)letcmi_magic_number="Caml1999I578"letas_debug_prefix_map_flag=""letast_impl_magic_number="Caml1999M578"letast_intf_magic_number="Caml1999N578"letcmt_magic_number="Caml1999T578"letcms_magic_number="Caml1999S578"letindex_magic_number="Merl2023I578"letinterface_suffix=ref".mli"letmax_tag=245typename_mangling_scheme=|Flat|Structuredletname_mangling_scheme=Flatletflat_float_array=falseletreserved_header_bits=8letruntime5=trueletsyntax_quotations=trueletmerlin=truemoduleMagic_numbers=structtypet={cmi_magic_number:string;ast_intf_magic_number:string;ast_impl_magic_number:string;cmt_magic_number:string;cms_magic_number:string;index_magic_number:string}letcurrent={cmi_magic_number;ast_intf_magic_number;ast_impl_magic_number;cmt_magic_number;cms_magic_number;index_magic_number}letto_jsont=letnums=[("cmi_magic_number",t.cmi_magic_number);("ast_intf_magic_number",t.ast_intf_magic_number);("ast_impl_magic_number",t.ast_impl_magic_number);("cmt_magic_number",t.cmt_magic_number);("cms_magic_number",t.cms_magic_number);("index_magic_number",t.index_magic_number)]in`Assoc(List.map(fun(key,value)->(key,Merlin_utils.Std.Json.stringvalue))nums)endletconfig_var_=failwith"Config.config_var is unimplemented in Merlin"letprint_config_=failwith"print_config is unimplemented in Merlin"