English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
New Camlp4 behavior (problem with rules starting with OPT)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-13 (21:43)
From: Martin Jambon <martin.jambon@e...>
Subject: Re: [Caml-list] New Camlp4 behavior (problem with rules starting with OPT)
On Fri, 13 Apr 2007, Nicolas Pouillard wrote:

> On 4/13/07, Martin Jambon <martin.jambon@ens-lyon.org> wrote:
> > With camlp4 3.10.0+beta, the following syntax extension does not work,
> > but it used to work in the "old" camlp4.
>
> IMHO having rules starting with OPT don't fit very well with the
> camlp4 parsing mechanism.
>
> It works in the 3.09 version but I don't know why.
>
> I think that you shouldn't rely on that anymore.

Perhaps you can have camlp4 test and reject such rules automatically. It
would be a big timesaver.


Thanks


Martin

--
Martin Jambon
http://martin.jambon.free.fr