On 03/16/2012 05:19 PM, Sylvain Le Gall wrote:
Hello,
On 16-03-2012, Francois Berenger<beren...@riken.jp> wrote:
Hello,
Let's say I have this section in an _oasis file:
---
Executable "Toto"
Path: src
MainIs: toto.ml
BuildDepends: batteries
BuildTools: ocamlbuild
---
I'd like the .ml file to be preprocessed using:
-pp 'camlp4o -parser Camlp4MacroParser'
What should I add in the _oasis file to do this?
Thanks a lot,
F.
For now, there is no native support of syntax directly inside _oasis.
However, you can add to _tags (outside OASIS_START/STOP section):
"src/oasis/OASISGettext.ml": syntax_camlp4o, pkg_camlp4.macro
(see
http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=oasis/oasis;a=headblob;f=/_tags)
Thanks, that fixed my problem.
Cheers,
Sylvain Le Gall
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs