ANN m_bool scan2_func_def(const Env env, const Func_Def f) {
const m_uint scope = !GET_FLAG(f, global) ? env->scope->depth : env_push_global(env);
const Value overload = nspc_lookup_value0(env->curr, f->base->xid);
- const Value res = nspc_lookup_value0(env->curr, f->base->xid);
-// if(res && res->owner == env->global_nspc)
-// ERR_B(f->pos, _("'%s' already declared as value of type '%s'."),
-// res->name, res->type->name)
f->stack_depth = (env->class_def && !GET_FLAG(f, static) && !GET_FLAG(f, global)) ? SZ_INT : 0;
if(GET_FLAG(f, variadic))
f->stack_depth += SZ_INT;