summaryrefslogtreecommitdiff
path: root/TAO_IDL/be/be_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO_IDL/be/be_string.cpp')
-rw-r--r--TAO_IDL/be/be_string.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/TAO_IDL/be/be_string.cpp b/TAO_IDL/be/be_string.cpp
index f0d93527172..fc39acd9b62 100644
--- a/TAO_IDL/be/be_string.cpp
+++ b/TAO_IDL/be/be_string.cpp
@@ -42,7 +42,19 @@ be_string::be_string (AST_Decl::NodeType nt,
be_type (nt,
n)
{
- idl_global->string_seen_ = true;
+ if (!this->imported ())
+ {
+ idl_global->string_seen_ = true;
+
+ if (v->ev ()->u.ulval != 0)
+ {
+ idl_global->bd_string_seen_ = true;
+ }
+ else
+ {
+ idl_global->ub_string_seen_ = true;
+ }
+ }
}
// Overridden method.
@@ -166,6 +178,4 @@ be_string::destroy (void)
this->AST_String::destroy ();
}
-
-
IMPL_NARROW_FROM_DECL (be_string)