Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Shishir Ramam <sramam@y...>
Subject: [Caml-list] Using Ocaml keywords as structure members.

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