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, 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: 2007-05-02 (13:48)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] Re: ocamlbuild, menhir and keeping tokens in a separate file

On May 2, 2007, at 2:08 PM, Nicolas Pouillard wrote:

> From here I don't know why it fails...

Apparently, dependencies are not being generated correctly for mly  

both _build/EasyToken.mly.depends and _build/EasyParser.mly.depends  
are empty.

It's strange because there's no _build/EasyLexer.mll.depends, for  
example, there's the *.ml.depends instead.

I added a manual dependency on EasySymtab and tagged EasyParser.mly  
accordingly, now everything works around the empty dependency files.


dep ["ocaml"; "menhir_ocamldep"; "symtab"] ["EasySymtab"];
dep ["ocaml"; "parser"; "menhir"; "symtab"] ["EasySymtab"];


"EasyParser.mly": token_base, ext_tokens, symtab

Is this a bug in ocamlbuild? Menhir?

	Thanks, Joel