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 (20:15)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] ocamlbuild and menhir options

> Oops, you're right yaccflags is just for ocamlyacc (I will fix it).
> Another solution can be: -ocamlyacc "menhir --explain"

I actually need to run Menhir like this:

menhir --base easy_parser easy_parser.mly easy_tokens.mly

I already have flags like these in myocamlbuild.ml

flag ["ocaml"; "link"] (A"-linkpkg");;
flag ["ocaml"; "link"; "output_obj"] (A"-output-obj");

How would I add the flags for Menhir?

	Thanks, Joel