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
[Caml-list] camlp4 Plexer.no_quotations default
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-30 (14:05)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] camlp4 Plexer.no_quotations default

On Wed, Oct 30, 2002 at 01:32:15PM +0100, Hendrik Tews wrote:
> the default value for Plexer.no_quotations is false. This lets
> "camlp4o pr_o.cmo" fail on legal ocaml programs like 
>   let ( <:> ) x y = x + y;;
> I would suggest to make the default value true. 

No, because it supposes that people using the Camlp4 quotations would
always have to set it explicitely to false. And I think that there are
much more people using the Camlp4 quotations than using the token <:>

What I could do, if you want, is to add an option of the command
line of Camlp4 setting it to true. You could use it like that:
       ocamlc -pp "camlp4o -no_quot" ...

Something like that. Would you like it?

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners