caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* small bug in 3.10 camlp4
@ 2007-11-07 19:07 Craig Falls
  2007-11-08  0:03 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Craig Falls @ 2007-11-07 19:07 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 230 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] small bug in 3.10 camlp4
  2007-11-07 19:07 small bug in 3.10 camlp4 Craig Falls
@ 2007-11-08  0:03 ` Nicolas Pouillard
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pouillard @ 2007-11-08  0:03 UTC (permalink / raw)
  To: Craig Falls; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-08  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-07 19:07 small bug in 3.10 camlp4 Craig Falls
2007-11-08  0:03 ` [Caml-list] " Nicolas Pouillard

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