From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA04437; Wed, 30 Jul 2003 08:42:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA09277 for ; Wed, 30 Jul 2003 08:42:31 +0200 (MET DST) Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6U6gVf17547 for ; Wed, 30 Jul 2003 08:42:31 +0200 (MET DST) Received: from tiscali.fr (192.168.10.29) by mail.libertysurf.net (6.5.026) id 3F25207C0005E7D7 for caml-list@inria.fr; Wed, 30 Jul 2003 08:42:31 +0200 Date: Wed, 30 Jul 2003 08:42:30 +0200 Message-Id: Subject: [Caml-list] =?iso-8859-1?Q?Re:_[Caml-list]_Question/Feature_request_about_Camlidl_andcomments]?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?matthieu.dubuget@libertysurf.fr?=" To: "=?iso-8859-1?Q?caml-list?=" X-XaM3-API-Version: 3.2 R30 (B58 pl3) X-type: 0 X-SenderIP: 81.48.167.35 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; matthieu:01 dubuget:01 caml-list:01 ocamldoc:01 mli:01 const:01 char:01 enums:01 tiscali:99 cher:99 adsl:99 offert:99 cliquez:99 idl:01 camlidl:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >Depending on what you base your ocamldoc generation,=0D=0A>use either ml= or mli. Since i think mli is the best=0D=0A>place to do it i will use it= :=0D=0A=0D=0A>quote(mli,"(** This is a ocamldoc comment *)");=0D=0A=0D=0A= >int my_function ( [string] const char * msg );=0D=0A=0D=0A>Simple !=0D=0A= =0D=0AI should have explained in detail what I was trying to do.=0D=0A=0D= =0AI did an attempt to do what you are suggesting. The problem=0D=0Ais th= at it seems difficult to control where the comments=0D=0Awill appear in t= he generated mli files.=0D=0A=0D=0AFor example, if I try =0D=0Aquote(mli,= "** This is a module *)"); at the very beginning=0D=0Aof my idl file in o= rder to generate a comment to be=0D=0Aassociated with the whole module, t= he string appears between=0D=0Atypes definitions and functions definition= s, which is not=0D=0Awhat we need to conform to ocamldoc. An other point = was that=0D=0AI wanted to comment also the elements of enums.=0D=0A=0D=0A= I may have the time to look at camlidl source code during my=0D=0Aholiday= s...=0D=0A=0D=0ASalutations=0D=0A=0D=0AMatthieu Dubuget=0D=0A=0D=0A=0D=0A= =0D=0A=0A=0A********** L'ADSL A 20 EUR/MOIS**********=0ATiscali propose l= 'ADSL le moins cher du march=E9 : 20 EUR/mois et le modem ADSL offert ! =0A= Pour profiter de cette offre exceptionnelle, cliquez ici : http://registe= r.tiscali.fr/adsl/=0AOffre soumise =E0 conditions.=0A ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners