summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure/structure.cpp4
2 files changed, 12 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index a6b6755fac8..e0280d26df7 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,11 @@
+Sat Feb 8 13:15:10 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * TAO_IDL/be/be_visitor_structure/structure.cpp:
+
+ Added some switch cases that are now necessary because of
+ the recent removal of context states.. Error was discovered
+ generating code for TAO/tests/IDL_Test/union.idl.
+
Wed Feb 5 13:11:42 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
* tao/TypeCodeFactory/TypeCodeFactory_i.cpp (valid_content_type):
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp b/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp
index ee4d7c3492b..e22124154cf 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure/structure.cpp
@@ -50,6 +50,9 @@ be_visitor_structure::visit_field (be_field *node)
{
case TAO_CodeGen::TAO_ROOT_CH:
case TAO_CodeGen::TAO_INTERFACE_CH:
+ case TAO_CodeGen::TAO_UNION_PUBLIC_CH:
+ case TAO_CodeGen::TAO_UNION_PRIVATE_CH:
+ case TAO_CodeGen::TAO_ARRAY_CH:
{
be_visitor_field_ch visitor (&ctx);
status = node->accept (&visitor);
@@ -62,6 +65,7 @@ be_visitor_structure::visit_field (be_field *node)
break;
}
case TAO_CodeGen::TAO_ROOT_CS:
+ case TAO_CodeGen::TAO_UNION_PUBLIC_CS:
{
be_visitor_field_cs visitor (&ctx);
status = node->accept (&visitor);