changed name: fun_info -> env
This commit is contained in:
parent
318d9d447f
commit
f66f5b321c
18
src/model.h
18
src/model.h
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue