diff options
Diffstat (limited to 'TAO/TAO_IDL/fe/fe_init.cpp')
-rw-r--r-- | TAO/TAO_IDL/fe/fe_init.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp index 3dff54991bd..80fa9bc722f 100644 --- a/TAO/TAO_IDL/fe/fe_init.cpp +++ b/TAO/TAO_IDL/fe/fe_init.cpp @@ -613,8 +613,8 @@ FE_init (void) idl_global->set_main_filename (0); idl_global->set_real_filename (0); idl_global->set_stripped_filename (0); - idl_global->set_import (true); - idl_global->set_in_main_file (false); + idl_global->set_import (I_TRUE); + idl_global->set_in_main_file (I_FALSE); idl_global->set_lineno (-1); idl_global->set_prog_name (0); @@ -628,7 +628,7 @@ FE_init (void) idl_global->set_include_file_names (0); idl_global->set_n_include_file_names (0); idl_global->set_parse_state (IDL_GlobalData::PS_NoState); - idl_global->preserve_cpp_keywords (false); + idl_global->preserve_cpp_keywords (I_FALSE); // Put an empty prefix on the stack for the global scope. idl_global->pragma_prefixes ().push (ACE::strnew ("")); @@ -673,7 +673,7 @@ FE_populate (void) fe_populate_global_scope (idl_global->root ()); // Set flag to indicate we are processing the main file now. - idl_global->set_in_main_file (true); + idl_global->set_in_main_file (I_TRUE); // Populate the IDL keyword container, for checking local identifiers. fe_populate_idl_keywords (); @@ -683,7 +683,7 @@ FE_populate (void) void FE_store_env_include_paths (void) { - ACE_Env_Value<char*> incl_paths ("INCLUDE", + ACE_Env_Value<char*> incl_paths (ACE_TEXT("INCLUDE"), (char *) 0); const char *aggr_str = incl_paths; @@ -713,7 +713,7 @@ FE_get_cpp_loc_from_env (void) const char *cpp_loc = 0; // See if TAO_IDL_PREPROCESSOR is defined. - ACE_Env_Value<char*> preprocessor ("TAO_IDL_PREPROCESSOR", + ACE_Env_Value<char*> preprocessor (ACE_TEXT("TAO_IDL_PREPROCESSOR"), (char *) 0); // Set cpp_loc to the built in location, unless it has been overriden by @@ -725,7 +725,7 @@ FE_get_cpp_loc_from_env (void) else { // Check for the deprecated CPP_LOCATION environment variable - ACE_Env_Value<char*> cpp_path ("CPP_LOCATION", + ACE_Env_Value<char*> cpp_path (ACE_TEXT("CPP_LOCATION"), (char *) 0); if (cpp_path != 0) @@ -753,7 +753,7 @@ FE_get_cpp_args_from_env (void) const char *cpp_args = 0; // Added some customizable preprocessor options - ACE_Env_Value<char*> args1 ("TAO_IDL_PREPROCESSOR_ARGS", + ACE_Env_Value<char*> args1 (ACE_TEXT("TAO_IDL_PREPROCESSOR_ARGS"), (char *) 0); if (args1 != 0) @@ -764,7 +764,7 @@ FE_get_cpp_args_from_env (void) { // Check for the deprecated TAO_IDL_DEFAULT_CPP_FLAGS environment // variable. - ACE_Env_Value<char*> args2 ("TAO_IDL_DEFAULT_CPP_FLAGS", + ACE_Env_Value<char*> args2 (ACE_TEXT("TAO_IDL_DEFAULT_CPP_FLAGS"), (char *) 0); if (args2 != 0) |