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 TAA28263; Wed, 16 Jun 2004 19:10:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA24309 for ; Wed, 16 Jun 2004 19:10:24 +0200 (MET DST) Received: from web52804.mail.yahoo.com (web52804.mail.yahoo.com [206.190.39.168]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i5GHANEV015005 for ; Wed, 16 Jun 2004 19:10:23 +0200 Message-ID: <20040616171022.31544.qmail@web52804.mail.yahoo.com> Received: from [66.120.160.255] by web52804.mail.yahoo.com via HTTP; Wed, 16 Jun 2004 10:10:22 PDT Date: Wed, 16 Jun 2004 10:10:22 -0700 (PDT) From: Shishir Ramam Subject: [Caml-list] Using Ocaml keywords as structure members. To: caml-list@inria.fr In-Reply-To: <40D0750F.2080307@lifl.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 40D07EFF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; renaming:01 promotions:99 ocaml:01 ocaml:01 camlidl:01 int:01 int:01 syntax:02 converting:05 structure:06 structure:06 type:07 interesting:09 running:10 characters:14 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I am interesting in converting a data-structure from C to Ocaml using CamlIdl. I am running into some trouble because one of the structure members is named "end". ------------------------------------------- # type a_test = { start: int; end: int; } ;; Characters 34-37: end: int; ^^^ Syntax error ------------------------------------------- Apart from renaming the structure member in C (3rd party, lotsa work!), is there anything else that I can do? thanks in advance for all help. -shishir __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------- 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