diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-05-08 03:15:09 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-05-08 03:15:09 +0000 |
commit | a9d8d37b16a781292b18d43793fada43585c5629 (patch) | |
tree | 9c335b35af0efaf6814bf7d283e470c0efaf25d2 | |
parent | ff9873034ab22c6861b2ee05bdec271d892ee5e3 (diff) | |
download | ATCD-a9d8d37b16a781292b18d43793fada43585c5629.tar.gz |
ChangeLogTag:Sat May 7 20:12:12 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 9 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp | 10 |
2 files changed, 18 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index bb8a388d1c8..13cbfa2e1f2 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,12 @@ +Sat May 7 20:12:12 2005 Ossama Othman <ossama@dre.vanderbilt.edu> + + * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp + (is_typecode_generation_required): + + Include NT_{interface_fwd,valuetype,valuetype_fwd} node types + when deciding whether a TypeCode should be generated. Fixes + duplicate valuetype TypeCode definition errors. + Sat May 7 10:33:21 2005 Ossama Othman <ossama@dre.vanderbilt.edu> * TAO_IDL/be/be_visitor_typecode/struct_typecode.cpp: diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp index ce22e3c14bf..5b6635d7138 100644 --- a/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp +++ b/TAO/TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp @@ -574,7 +574,15 @@ be_visitor_typecode_defn::is_typecode_generation_required (be_type * node) { AST_Decl::NodeType const nt = node->node_type (); - if (nt == AST_Decl::NT_interface) +// ACE_DEBUG ((LM_DEBUG, +// "NODE: %u | %s\n", +// nt, +// node->repoID ())); + + if (nt == AST_Decl::NT_interface + || nt == AST_Decl::NT_interface_fwd + || nt == AST_Decl::NT_valuetype + || nt == AST_Decl::NT_valuetype_fwd) { // interfaces, valuetypes, eventtypes and components |