changed name: fun_info -> env

This commit is contained in:
Tomasz Sowa 2021-11-05 22:23:54 +01:00
parent 318d9d447f
commit f66f5b321c
1 changed files with 9 additions and 9 deletions

View File

@ -281,20 +281,20 @@ public:
if( model_env->ezc_var_space_local && model_env->ezc_var_space_local->type != pt::Space::Type::type_null )
{
fun_info.res.type = Ezc::Var<FunInfoStreamType>::Type::TYPE_SPACE_LOCAL;
env.res.type = Ezc::Var<FunInfoStreamType>::Type::TYPE_SPACE_LOCAL;
}
else
if( model_env->ezc_var_date )
{
fun_info.res.type = Ezc::Var<FunInfoStreamType>::Type::TYPE_DATE;
fun_info.res.date = model_env->ezc_var_date;
}
else
if( model_env->model )
{
fun_info.res.type = Ezc::Var<FunInfoStreamType>::Type::TYPE_MODEL;
fun_info.res.model = model_env->model;
env.res.type = Ezc::Var<FunInfoStreamType>::Type::TYPE_DATE;
env.res.date = model_env->ezc_var_date;
}
// else
// if( model_env->model )
// {
// env.res.type = Ezc::Var<FunInfoStreamType>::Type::TYPE_MODEL;
// env.res.model = model_env->model;
// }
model_env = nullptr;
return model_env_local.was_field_found;