summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/idl.yy
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/fe/idl.yy')
-rw-r--r--TAO/TAO_IDL/fe/idl.yy6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/fe/idl.yy b/TAO/TAO_IDL/fe/idl.yy
index 3bd111d1ccf..226a06e85b4 100644
--- a/TAO/TAO_IDL/fe/idl.yy
+++ b/TAO/TAO_IDL/fe/idl.yy
@@ -1945,8 +1945,10 @@ complex_declarator :
// complex_declarator : array_declarator
UTL_ScopedName *sn = 0;
ACE_NEW_RETURN (sn,
- UTL_ScopedName ($1->local_name (),
- 0),
+ UTL_ScopedName (
+ $1->local_name ()->copy (),
+ 0
+ ),
1);
ACE_NEW_RETURN ($$,
FE_Declarator (sn,