Simon Krajewski 2 anos atrás
pai
commit
f87d093f53
3 arquivos alterados com 2 adições e 3 exclusões
  1. 0 1
      opam
  2. 1 1
      src/core/globals.ml
  3. 1 1
      src/dune

+ 0 - 1
opam

@@ -26,7 +26,6 @@ depends: [
   "sedlex" {>= "2.0"}
   "xml-light"
   "extlib" {>= "1.7.8"}
-  "ptmap" {>= "2.0.0"}
   "sha"
   "conf-libpcre2-8"
   "conf-zlib"

+ 1 - 1
src/core/globals.ml

@@ -6,7 +6,7 @@ type pos = {
 
 type path = string list * string
 
-module IntMap = Ptmap
+module IntMap = Map.Make(struct type t = int let compare i1 i2 = i2 - i1 end)
 module StringMap = Map.Make(struct type t = string let compare = String.compare end)
 module Int32Map = Map.Make(struct type t = Int32.t let compare = Int32.compare end)
 

+ 1 - 1
src/dune

@@ -20,7 +20,7 @@
 		extc extproc extlib_leftovers ilib javalib mbedtls neko objsize pcre2 swflib ttflib ziplib
 		json
 		unix str bigarray threads dynlink
-		xml-light extlib ptmap sha
+		xml-light extlib sha
 		luv
 	)
 	(modules (:standard \ haxe))