Browse thread
ocamlbuild and menhir options
-
Joel Reymont
-
Nicolas Pouillard
-
Joel Reymont
- Nicolas Pouillard
-
Joel Reymont
-
Nicolas Pouillard
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nicolas Pouillard <nicolas.pouillard@g...> |
| Subject: | Re: [Caml-list] ocamlbuild and menhir options |
On 4/27/07, Joel Reymont <joelr1@gmail.com> wrote:
>
> On Apr 27, 2007, at 3:12 PM, Nicolas Pouillard wrote:
>
> > 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").
>
> I tried this but it did not use --explain.
>
> Does the command line look correct?
>
> ocamlbuild -classic-display -yaccflags --explain -use-menhir
> easy_parser.byte
>
Oops, you're right yaccflags is just for ocamlyacc (I will fix it).
Another solution can be: -ocamlyacc "menhir --explain"
--
Nicolas Pouillard