Re: bug in floating point implementation ?

From: William Chesters (williamc@dai.ed.ac.uk)
Date: Thu Feb 25 1999 - 19:28:57 MET


Date: Thu, 25 Feb 1999 18:28:57 GMT
Message-Id: <199902251828.SAA17936@toy.william.bogus>
From: William Chesters <williamc@dai.ed.ac.uk>
To: caml-list@inria.fr
Subject: camlp4 bug with "include"

When camlp4 is used as a preprocessor, nothing after an "include" in a
signature gets passed to ocamlc. Here's a patch to fix it:

*** camlp4/ast2pt.ml Tue Dec 1 08:19:34 1998
--- ast2pt.ml Thu Feb 25 18:17:10 1999
***************
*** 505,509 ****
    | SgExt loc n t p ->
        [mksig loc (Psig_value (shd n) (mkvalue_desc t p)) :: l]
! | SgInc loc mt -> [mksig loc (Psig_include (module_type mt))]
    | SgMod loc n mt -> [mksig loc (Psig_module (shd n) (module_type mt)) :: l]
    | SgMty loc n mt ->
--- 505,509 ----
    | SgExt loc n t p ->
        [mksig loc (Psig_value (shd n) (mkvalue_desc t p)) :: l]
! | SgInc loc mt -> [mksig loc (Psig_include (module_type mt)) :: l]
    | SgMod loc n mt -> [mksig loc (Psig_module (shd n) (module_type mt)) :: l]
    | SgMty loc n mt ->



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:20 MET