caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Ulex patch for ocaml-3.09
@ 2005-10-28  8:11 Alessandro Baretta
  0 siblings, 0 replies; only message in thread
From: Alessandro Baretta @ 2005-10-28  8:11 UTC (permalink / raw)
  To: Ocaml, Alain Frisch, Gerd Stolpmann

Ulex 0.7 (required by PXP) needs the following patch to build on ocaml 
3.09.0.

Alex

diff -Naur ulex-0.7/mk_pa_ulex.ml ulex-0.7-deit/mk_pa_ulex.ml
--- ulex-0.7/mk_pa_ulex.ml      2005-05-24 17:16:51.000000000 +0200
+++ ulex-0.7-deit/mk_pa_ulex.ml 2005-10-28 10:07:48.000000000 +0200
@@ -1,5 +1,5 @@
  let s = float_of_string (String.sub (Sys.ocaml_version) 0 4) in
-if (s <= 3.09) then (
+if (s < 3.09) then (
    print_endline "Old camlp4 (loc)";
    Sys.command "sed s/_loc/loc/ < pa_ulex.ml.src > pa_ulex.ml"
  )


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-28  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28  8:11 Ulex patch for ocaml-3.09 Alessandro Baretta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).