summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-10 00:09:42 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-10 00:09:42 +0000
commitd63a3c5694ce7cda2b5450027b3a9302a7ee40ad (patch)
treef5b3b83d17a405287d8070470ccacb2b42fc4457
parent015189646f600bf49a8e5fea41a5754edfbeadad (diff)
downloadATCD-d63a3c5694ce7cda2b5450027b3a9302a7ee40ad.tar.gz
ChangeLogTag: Wed Jan 9 18:07:55 2002 Jeff Parsons <parsons@cs.wustl.edu>
-rw-r--r--TAO/TAO_IDL/fe/fe_init.cpp101
1 files changed, 48 insertions, 53 deletions
diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp
index 5a70070a7ca..c2eb9334b13 100644
--- a/TAO/TAO_IDL/fe/fe_init.cpp
+++ b/TAO/TAO_IDL/fe/fe_init.cpp
@@ -398,59 +398,54 @@ fe_populate_global_scope (AST_Module *m)
);
m->fe_add_predefined_type (pdt);
-# ifdef IDL_HAS_VALUETYPE
- if (idl_global->obv_support ())
- {
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("abstract")
- );
- m->fe_add_predefined_type (pdt);
-
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("custom")
- );
- m->fe_add_predefined_type (pdt);
-
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("private")
- );
- m->fe_add_predefined_type (pdt);
-
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("public")
- );
- m->fe_add_predefined_type (pdt);
-
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("supports")
- );
- m->fe_add_predefined_type (pdt);
-
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("truncatable")
- );
- m->fe_add_predefined_type (pdt);
-
- pdt =
- idl_global->gen ()->create_predefined_type (
- AST_PredefinedType::PT_pseudo,
- create_scoped_name ("valuetype")
- );
- m->fe_add_predefined_type (pdt);
- }
-# endif /* IDL_HAS_VALUETYPE */
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("abstract")
+ );
+ m->fe_add_predefined_type (pdt);
+
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("custom")
+ );
+ m->fe_add_predefined_type (pdt);
+
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("private")
+ );
+ m->fe_add_predefined_type (pdt);
+
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("public")
+ );
+ m->fe_add_predefined_type (pdt);
+
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("supports")
+ );
+ m->fe_add_predefined_type (pdt);
+
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("truncatable")
+ );
+ m->fe_add_predefined_type (pdt);
+
+ pdt =
+ idl_global->gen ()->create_predefined_type (
+ AST_PredefinedType::PT_pseudo,
+ create_scoped_name ("valuetype")
+ );
+ m->fe_add_predefined_type (pdt);
}
// Populate idl_global's hash map with upper case versions of