From: "Nicolas Pouillard" <nicolas.pouillard@inria.fr>
To: Matthieu Dubuget <matthieu.dubuget@metalscan.fr>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Is it a bug (pa_macro)?
Date: Mon, 01 Oct 2007 23:54:40 +0200 [thread overview]
Message-ID: <1191275583-sup-1985@ausone.local> (raw)
In-Reply-To: <4700C79C.3050800@metalscan.fr>
Excerpts from Matthieu Dubuget's message of Mon Oct 01 12:10:36 +0200 2007:
> $ ocamlc -version
> 3.10.0
>
> $ cat test.ml
> if true then
> print_int ( (lxor) 1 3)
>
> $ ocamldep -pp 'camlp4o pa_macro.cmo' test.ml
> File "test.ml", line 2, characters 16-20:
> Parse error: ")" or [expr] expected after "(" (in [expr])
> Preprocessing error on file test.ml
>
If I well remember it was a bug in camlp4 about treating functions like lxor. It's now fixed in cvs.
The workaround can be to use 1 lxor 3 instead.
HTH,
--
Nicolas Pouillard aka Ertai
prev parent reply other threads:[~2007-10-01 21:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 10:10 Matthieu Dubuget
2007-10-01 21:54 ` Nicolas Pouillard [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=1191275583-sup-1985@ausone.local \
--to=nicolas.pouillard@inria.fr \
--cc=caml-list@inria.fr \
--cc=matthieu.dubuget@metalscan.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