SOURCES: ledit-ocaml3.09.patch (NEW) - fix compilation with latest...

baggins baggins at pld-linux.org
Fri Apr 21 16:14:28 CEST 2006


Author: baggins                      Date: Fri Apr 21 14:14:28 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix compilation with latest ocaml

---- Files affected:
SOURCES:
   ledit-ocaml3.09.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ledit-ocaml3.09.patch
diff -u /dev/null SOURCES/ledit-ocaml3.09.patch:1.1
--- /dev/null	Fri Apr 21 16:14:28 2006
+++ SOURCES/ledit-ocaml3.09.patch	Fri Apr 21 16:14:23 2006
@@ -0,0 +1,16 @@
+diff -ur ledit-1.10/pa_local.ml ledit-1.10.x/pa_local.ml
+--- ledit-1.10/pa_local.ml	2001-06-16 10:50:02.000000000 +0200
++++ ledit-1.10.x/pa_local.ml	2006-04-21 16:12:49.000000000 +0200
+@@ -14,10 +14,10 @@
+ open Pcaml;
+ 
+ value expr_of_patt p =
+-  let loc = MLast.loc_of_patt p in
++  let _loc = MLast.loc_of_patt p in
+   match p with
+   [ <:patt< $lid:x$ >> -> <:expr< $lid:x$ >>
+-  | _ -> Stdpp.raise_with_loc loc (Stream.Error "identifier expected") ]
++  | _ -> Stdpp.raise_with_loc _loc (Stream.Error "identifier expected") ]
+ ;
+ 
+ EXTEND
================================================================


More information about the pld-cvs-commit mailing list