Re: [Caml-list] compiling static preprocessors

Thomas Gazagnaire
2012-03-01T22:44:01Z

>> So I suppose the OCaml grammar is not yet registered when type-conv
>> tries to remove the rule. Oh dear... Any thoughts on this one?
>
> Ah yes, camlp4 modules initialization may be delayed, try to link
> this code after camlp4 modules and before type-conv ones:
>
> Camlp4.Register.iter_and_take_callbacks
> (fun (name, callback)-> callback ())

Awesome, this is now working correctly! Many thanks Jérémie!

Cheers,
Thomas