[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [xavier.leroy@inria.fr: [Caml-list] Objective Caml 3.07 final release]



> >  In case some package becomes unbuildable, it is possible to manually
> >  insert parentheses to disambiguate the parsing. The parentheses should
> >  not affect MD5 sums w.r.t. the files without the parentheses in a bug
> >  fixed version of camlp4.
> 
> Mmm again, i am not fluent in camlp4, so someone more knowledgeable than
> me will have to fix this.

 Nor do I, but the fix has nothing to do with camlp4. It is about plain ocaml
 files that are compiled using camlp4 as a preprocessor (using the -pp option).

 Example:

 A.mli
 val f : (?a:bool -> int -> int) -> int

 should be manually changed to

 A.mli
 val f : (?a:bool -> (int -> int)) -> int

 if it is compiled with the -pp option to invoke camlp4.

 					Hope it helps,
					   C.S.C.

-- 
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
PhD Student in Computer Science at University of Bologna
E-mail: sacerdot@cs.unibo.it
http://www.cs.unibo.it/~sacerdot
----------------------------------------------------------------



Reply to: