diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_argument.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_argument.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_argument.cpp b/TAO/TAO_IDL/be/be_argument.cpp index 2944b352d08..e451b66d497 100644 --- a/TAO/TAO_IDL/be/be_argument.cpp +++ b/TAO/TAO_IDL/be/be_argument.cpp @@ -22,6 +22,7 @@ #include "be_argument.h" #include "be_type.h" #include "be_visitor.h" +#include "nr_extern.h" ACE_RCSID (be, be_argument, @@ -51,9 +52,12 @@ be_argument::be_argument (AST_Argument::Direction d, be_decl (AST_Decl::NT_argument, n) { - be_type *bt = be_type::narrow_from_decl (ft); - bt->seen_in_operation (I_TRUE); - this->set_arg_seen_bit (bt); + if (!ScopeAsDecl (this->defined_in ())->imported ()) + { + be_type *bt = be_type::narrow_from_decl (ft); + bt->seen_in_operation (I_TRUE); + this->set_arg_seen_bit (bt); + } } |