diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-04 17:03:52 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-04 17:03:52 +0000 |
commit | f9f0e9cbef284346dd4baf9484c65fba1c046fa1 (patch) | |
tree | cc581037c280c97ef1c233d0ce2d3bbb0b89a77f /TAO/TAO_IDL/be/be_union_branch.cpp | |
parent | 6d27093d1ac6828621a28997610ac8d5a4fa9520 (diff) | |
download | ATCD-f9f0e9cbef284346dd4baf9484c65fba1c046fa1.tar.gz |
ChangeLogTag:Wed Aug 4 12:02:45 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_union_branch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_union_branch.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_union_branch.cpp b/TAO/TAO_IDL/be/be_union_branch.cpp index 0d185d6164e..99f83a6b669 100644 --- a/TAO/TAO_IDL/be/be_union_branch.cpp +++ b/TAO/TAO_IDL/be/be_union_branch.cpp @@ -95,7 +95,8 @@ be_union_branch::gen_label_value (TAO_OutStream *os, unsigned long index) // we must prefix the enum value with something... be_decl* decl = scope->decl (); - *os << decl->fullname () << "::" << e->n (); + + *os << decl->full_name () << "::" << e->n (); return 0; } @@ -113,7 +114,7 @@ be_union_branch::gen_default_label_value (TAO_OutStream *os, "computing default value failed\n"), -1); } - + switch (bu->udisc_type ()) { case AST_Expression::EV_short: @@ -158,7 +159,6 @@ be_union_branch::gen_default_label_value (TAO_OutStream *os, "bad or unimplemented discriminant type\n"), -1); } - return 0; } |