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: Joel Reymont <joelr1@g...>
Subject: ocamlbuild, menhir and keeping tokens in a separate file
How can I specify with ocamlbuild that to build my easy_parser.mly I  
need to include easy_tokens.mly on the menhir command line, as well  
as give menhir --base easy_parser?

The command I'm looking for is below:

menhir --explain --infer --base easy_parser easy_tokens.mly  
easy_parser.mly

	Thanks, Joel

--
http://wagerlabs.com/