Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild, menhir and keeping tokens in a separate file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] Re: ocamlbuild, menhir and keeping tokens in a separate file
On 5/2/07, Joel Reymont <joelr1@gmail.com> wrote:
> ["EasySymtab"] did not make sense to ocamlbuild, apparently, so it
> never tried to build my parser. I had to change to the following. It
> does trigger complication of EasyParser.mly but is it correct?
>
> dep ["ocaml"; "menhir_ocamldep"; "symtab"] ["EasySymtab.ml"];
> dep ["ocaml"; "parser"; "menhir"; "symtab"] ["EasySymtab.cmo"];

cmi should be sufficent instead of cmo.

"file:EasyParser.mly" should replace "symtab" it's shorter since it
doesn't appear in the tag file.

-- 
Nicolas Pouillard