From: Christian Stork <cstork@ics.uci.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] New Camlp4 behavior (problem with rules starting with OPT)
Date: Sat, 14 Apr 2007 07:20:19 +0200 [thread overview]
Message-ID: <20070414052019.GC31862@stirner.roentgeninstitut.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0704130114240.6964@droopy>
On Fri, Apr 13, 2007 at 01:27:24AM -0700, Martin Jambon wrote:
> With camlp4 3.10.0+beta, the following syntax extension does not work,
> but it used to work in the "old" camlp4.
>
...
> item: [
> [ mut = OPT "mutable"; name = LIDENT -> () ]
...
According to http://pauillac.inria.fr/~pouillar/camlp4-changes.html :
In grammars, constructions (LIST0, LIST1, OPT) no longer accept a
single token. LIST0 STRING can be replaced by lIST0 [ x = STRING ->
x ]
So this shouldn't work at all?! Nicolas, does this restriction still
exist?
--
Chris Stork <> Support eff.org! <> http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint: B08B 602C C806 C492 D069 021E 41F3 8C8D 50F9 CA2F
prev parent reply other threads:[~2007-04-14 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-13 8:27 Martin Jambon
2007-04-13 13:49 ` [Caml-list] " Nicolas Pouillard
2007-04-13 21:43 ` Martin Jambon
2007-04-14 5:16 ` Christian Stork
2007-04-14 5:20 ` Christian Stork [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=20070414052019.GC31862@stirner.roentgeninstitut.de \
--to=cstork@ics.uci.edu \
--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;
as well as URLs for NNTP newsgroup(s).