diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-08-10 17:49:14 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-08-10 17:49:14 +0000 |
commit | 51533c3ba3fb27681ee5330e69979209e282d75e (patch) | |
tree | 8e567ac8a7ebeba65bea8af389a16b1e05cc0be8 /TAO/TAO_IDL | |
parent | 0e64e55be823fc89e2c0b4b59c986edf64e02698 (diff) | |
download | ATCD-51533c3ba3fb27681ee5330e69979209e282d75e.tar.gz |
ChangeLogTag: Tue Aug 10 17:46:16 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/fe/fe_init.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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 |