From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] camlp5: bug?
Date: Tue, 22 Jan 2008 21:24:41 +0100 [thread overview]
Message-ID: <20080122202441.GA4934@yquem.inria.fr> (raw)
In-Reply-To: <479676C5.3090001@tepkom.ru>
Hi,
On Tue, Jan 22, 2008 at 11:05:41PM +0000, Dmitri Boulytchev wrote:
> Given the file t.ml with the single line
> () (let module X = Y in ())
> camlp5 behaves as shown below:
> camlp5o pr_o.cmo t.ml > /dev/null --- Failure: unable to print expr
This is indeed something missing in Camlp5. It will be fixed in next
release. In the meantime, you can edit the file "etc/pr_o.ml" and around
line 1100, change:
<:expr< let $flag:_$ $list:_$ in $_$ >> |
<:expr< match $_$ with [ $list:_$ ] >> |
into:
<:expr< let $flag:_$ $list:_$ in $_$ >> |
<:expr< let module $uid:_$ = $_$ in $_$ >> |
<:expr< match $_$ with [ $list:_$ ] >> |
(i.e. insert the line with "let module" between the other two)
--
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/
prev parent reply other threads:[~2008-01-22 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 23:05 Dmitri Boulytchev
2008-01-22 20:24 ` Daniel de Rauglaudre [this message]
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=20080122202441.GA4934@yquem.inria.fr \
--to=daniel.de_rauglaudre@inria.fr \
--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