Version française
Home     About     Download     Resources     Contact us    
Browse thread
small bug in 3.10 camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] small bug in 3.10 camlp4
Excerpts from Craig Falls's message of Wed Nov 07 20:07:50 +0100 2007:
> The following expression compiles under ocaml 3.10 camlp4 but naturally
> fails when compiled directly with ocamlc:
> 
> true && && false
> 
> Our setup is fairly customized -- can someone confirm this?

At least, it's rejected by the current camlp4 (from CVS).

$ camlp4o -version
3.10.1+dev0 (2007-05-21)
$ camlp4o -str 'true && && false'
File "/tmp/from_string8e8966.ml", line 1, characters 5-7:
Parse error: [implem] expected after [semi] (in [implem])

Regards,
-- 
Nicolas Pouillard aka Ertai