summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-23 15:37:35 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-23 15:37:35 +0000
commit0f560398677a3365b18347c9c2f5a5bd2d83cd8b (patch)
tree02a72b1ccdd65ae3399c11fa14f2565f068125e8
parent7140815cafb1ffca9abf89223db2f2973c87a629 (diff)
downloadATCD-0f560398677a3365b18347c9c2f5a5bd2d83cd8b.tar.gz
ChangeLogTag: Fri Aug 23 10:33:59 2002 Jeff Parsons <parsons@cs.wustl.edu>
-rw-r--r--TAO/ChangeLog9
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp14
2 files changed, 21 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 5983fdb2a9a..bd41fe570ed 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,12 @@
+Fri Aug 23 10:33:59 2002 Jeff Parsons <parsons@cs.wustl.edu>
+
+ * TAO_IDL/be/be_visitor_interface/interface_ih.cpp:
+
+ Changed implementation class declaration to inherit
+ from the stub class, if the interface is local. Thanks
+ to Roy Sharon <roysharon@hotmail.com> for reporting
+ the bug. This closes [BUGID:1188].
+
Fri Aug 23 10:10:17 2002 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/ast/ast_operation.cpp (fe_add_argument):
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp
index f47b5821a39..04edda2e441 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ih.cpp
@@ -63,8 +63,18 @@ be_visitor_interface_ih::visit_interface (be_interface *node)
<< " " << be_global->impl_class_prefix () << namebuf
<< be_global->impl_class_suffix () << " : ";
- // Inherit from the base skeleton file.
- *os <<"public virtual "<< node->full_skel_name ();
+ // Inherit from the base skeleton name, unless the interface
+ // is local.
+ *os <<"public virtual ";
+
+ if (node->is_local ())
+ {
+ *os << node->full_name ();
+ }
+ else
+ {
+ *os << node->full_skel_name ();
+ }
*os << be_nl
<< "{" << be_nl