Re: [Clorb-devel] Forward references
Status: Alpha
Brought to you by:
lenst
|
From: Lennart S. <le...@ly...> - 2007-10-20 06:51:07
|
James Amundson wrote:
> Clorb doesn't seem to support forward references. For example, I need
> something to do simple like
>
> module Simple {
> union ToySexpr;
> typedef sequence<ToySexpr> list;
> union ToySexpr switch(short) {
> case 1:string atom_val;
> case 2:list list_val;
> };
> };
>
> Clorb dies on the foward reference ("union ToySexpr;"). I don't see any
> way to work around the problem without resorting to using "any".
>
> Is there any chance of getting Clorb to understand forward references?
> I would be happy to try to fix it myself if I could get a little
> direction on where to start.
>
I think this has been fixed after the latest release. Can you try CLORB
from the CVS repository
http://sourceforge.net/projects/clorb/
cvs -d:pserver:ano...@cl...:/cvsroot/clorb login
cvs -z3 -d:pserver:ano...@cl...:/cvsroot/clorb co
-P /clorb
//Lennart Staflin
/
|