[omniORB] keyword as enumerated value not quite right....

Brian C. Olson bolson@rtlogic.com
Fri Apr 25 00:53:01 2003


This is a multi-part message in MIME format.

------=_NextPart_000_005D_01C30A8A.2CF7FC80
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I just noticed a bug where this IDL: 
 
enum noWorky
{
  pass
};

 
generates the output:
 
# enum noWorky
_0__GlobalIDL.pass = omniORB.EnumItem("pass", 0)
_0__GlobalIDL.noWorky = omniORB.Enum("IDL:noWorky:1.0",
(_0__GlobalIDL._pass,))
 
_0__GlobalIDL._d_noWorky  = (omniORB.tcInternal.tv_enum,
_0__GlobalIDL.noWorky._NP_RepositoryId, "noWorky",
_0__GlobalIDL.noWorky._items)
_0__GlobalIDL._tc_noWorky =
omniORB.tcInternal.createTypeCode(_0__GlobalIDL._d_noWorky)
omniORB.registerType(_0__GlobalIDL.noWorky._NP_RepositoryId,
_0__GlobalIDL._d_noWorky, _0__GlobalIDL._tc_noWorky)

 
 
notice in particular the _0__GlobalIDL.pass on the first line. I think this
should be _0__GlobalIDL._pass (like it is on the second line)...
 
 
Sorry if this has been noted before, I am using omniORBpy 2.0.
 
P.S. If there is an easy way to view the archives or search them, I'd like
to know how. I just used google to do a site search at omniorb-support.com.
 
-Brian Olson

------=_NextPart_000_005D_01C30A8A.2CF7FC80
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2>I just =
noticed a bug=20
where this IDL: </FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2>enum=20
noWorky<BR>{<BR>&nbsp; pass<BR>};<BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial =
size=3D2>generates the=20
output:</FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2># enum =

noWorky<BR>_0__GlobalIDL.pass =3D omniORB.EnumItem("pass",=20
0)<BR>_0__GlobalIDL.noWorky =3D omniORB.Enum("IDL:noWorky:1.0",=20
(_0__GlobalIDL._pass,))</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2>_0__GlobalIDL._d_noWorky&nbsp; =3D (omniORB.tcInternal.tv_enum, =

_0__GlobalIDL.noWorky._NP_RepositoryId, "noWorky",=20
_0__GlobalIDL.noWorky._items)<BR>_0__GlobalIDL._tc_noWorky =3D=20
omniORB.tcInternal.createTypeCode(_0__GlobalIDL._d_noWorky)<BR>omniORB.re=
gisterType(_0__GlobalIDL.noWorky._NP_RepositoryId,=20
_0__GlobalIDL._d_noWorky, =
_0__GlobalIDL._tc_noWorky)<BR></FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2>notice =
in particular=20
the _0__GlobalIDL.pass on the first line. I think this should be=20
_0__GlobalIDL._pass (like it is on the second =
line)...</FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2>Sorry =
if this has=20
been noted before, I am using omniORBpy 2.0.</FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2>P.S. =
If there is an=20
easy way to view the archives or search them, I'd like to know how. I =
just used=20
google to do a site search at omniorb-support.com.</FONT></SPAN></DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D517304623-24042003><FONT face=3DArial size=3D2>-Brian =

Olson</DIV></FONT></SPAN></BODY></HTML>

------=_NextPart_000_005D_01C30A8A.2CF7FC80--