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
ocamlbuild and menhir options
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-27 (14:12)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild and menhir options
On 4/27/07, Joel Reymont <joelr1@gmail.com> wrote:
> How can I pass additional options such as --infer or --explain to
> ocamlbuild -use-menhir?
>

With ocamlbuild --infer is always used. You can give it more flags
using -yaccflags, or through a plugin filling Options.ocaml_yaccflags,
or using some flag declaration using tags such as ("ocaml, "parser",
"menhir").

-- 
Nicolas Pouillard