ClearScope is not needed for methods either. Disabled, but not removed - reenable if needed later

This commit is contained in:
ZZYZX 2017-02-18 07:33:27 +02:00
parent d7f5d8a403
commit 463620c3b8

View file

@ -2075,7 +2075,7 @@ void ZCCCompiler::CompileFunction(ZCC_StructWork *c, ZCC_FuncDeclarator *f, bool
} while (t != f->Type);
}
int notallowed = ZCC_Latent | ZCC_Meta | ZCC_ReadOnly | ZCC_Abstract;
int notallowed = ZCC_Latent | ZCC_Meta | ZCC_ReadOnly | ZCC_Abstract | ZCC_ClearScope;
if (f->Flags & notallowed)
{