Browse thread
ocamlbuild, menhir and keeping tokens in a separate file
[
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: | 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 files. 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. myocamlbuild.ml: dep ["ocaml"; "menhir_ocamldep"; "symtab"] ["EasySymtab"]; dep ["ocaml"; "parser"; "menhir"; "symtab"] ["EasySymtab"]; _tags: "EasyParser.mly": token_base, ext_tokens, symtab Is this a bug in ocamlbuild? Menhir? Thanks, Joel -- http://wagerlabs.com/