Inc.
git-svn-id: svn://10.0.0.236/trunk@126542 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e85655fa4f
commit
3fd968f94e
@ -122,13 +122,14 @@ namespace MetaData {
|
||||
CompoundAttribute *a = Attribute::toCompoundAttribute(attr);
|
||||
if (a->dynamic || a->prototype)
|
||||
reportError(Exception::definitionError, "Illegal attribute", p->pos);
|
||||
MemberModifier memberMod = a->memberMod;
|
||||
Attribute::MemberModifier memberMod = a->memberMod;
|
||||
if ((env->getTopFrame()->kind == Frame::Class)
|
||||
&& (memberMod == Attribute::NoModifier))
|
||||
memberMod == Attribute::Final;
|
||||
memberMod = Attribute::Final;
|
||||
switch (memberMod) {
|
||||
case Attribute::NoModifier:
|
||||
case Attribute::Static:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user