Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: blue storm <bluestorm.dylc@gmail.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Camlp4 {< ... >} bug #4673 in 3.11-rc1 : extension workaround
Date: Mon, 1 Jun 2009 16:14:42 +0200	[thread overview]
Message-ID: <527cf6bc0906010714t6229d6ccn5ad1ccfeed4554f9@mail.gmail.com> (raw)

I was recently alerted of a camlp4 bug in 3.11 :
http://caml.inria.fr/mantis/view.php?id=4673
I've written a fix [1] (wich I will submit to mantis as soon as I
understand how to),
but the reporter complained that it was difficult for him to recompile the whole
ocaml distribution (Windows syndrome).

Thus, I produced a workaround syntax extension [2] that fixes the bug without
modifying the distribution : just add the extension at preprocess-time and
it should go fine. In case someone is interested, I'm posting it on the list.
Beware, this is three-hour-old code that wasn't properly tested.

Files and html pretty-print for online reading at
http://bluestorm.info/camlp4/objcopy-fix/list.php
[1] http://bluestorm.info/camlp4/objcopy-fix/Camlp4OCamlRevisedParser.ml.diff
[2] http://bluestorm.info/camlp4/objcopy-fix/pa_objcopy_bugfix.ml


                 reply	other threads:[~2009-06-01 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527cf6bc0906010714t6229d6ccn5ad1ccfeed4554f9@mail.gmail.com \
    --to=bluestorm.dylc@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox