Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <> 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.



Martin Jambon