From 51533c3ba3fb27681ee5330e69979209e282d75e Mon Sep 17 00:00:00 2001 From: parsons Date: Tue, 10 Aug 2010 17:49:14 +0000 Subject: ChangeLogTag: Tue Aug 10 17:46:16 UTC 2010 Jeff Parsons --- TAO/TAO_IDL/fe/fe_init.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'TAO/TAO_IDL') diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp index 5afd45db6db..370cc756c16 100644 --- a/TAO/TAO_IDL/fe/fe_init.cpp +++ b/TAO/TAO_IDL/fe/fe_init.cpp @@ -100,6 +100,11 @@ fe_populate_global_scope (void) root->fe_add_predefined_type (pdt); + /// Put this prefix in force while we're creating the + /// CORBA module and its contents. + char *prefix = ACE::strnew ("omg.org"); + idl_global->pragma_prefixes ().push (prefix); + Identifier corba_id ("CORBA"); UTL_ScopedName sn (&corba_id, 0); @@ -248,6 +253,10 @@ fe_populate_global_scope (void) &TypeCode_name); m->fe_add_predefined_type (pdt); + + char *trash = 0; + idl_global->pragma_prefixes ().pop (trash); + ACE::strdelete (trash); } // Populate idl_global's hash map with upper case versions of -- cgit v1.2.1