English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Linear constraints
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-06-16 (17:10)
From: Shishir Ramam <sramam@y...>
Subject: [Caml-list] Using Ocaml keywords as structure members.

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.

Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

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