Added missing attributes. Fixed slotWrite stack bug.

This commit is contained in:
rogerl%netscape.com 2002-11-13 21:49:57 +00:00
parent e0839b608f
commit 462479a002
2 changed files with 13 additions and 0 deletions

View File

@ -1390,6 +1390,18 @@ namespace MetaData {
ca->memberMod = Attribute::Constructor;
return ca;
}
else
if (name == world.identifiers["override"]) {
ca = new CompoundAttribute();
ca->overrideMod = Attribute::DoOverride;
return ca;
}
else
if (name == world.identifiers["virtual"]) {
ca = new CompoundAttribute();
ca->memberMod = Attribute::Virtual;
return ca;
}
}
}
// fall thru to execute a readReference on the identifier...

View File

@ -249,6 +249,7 @@
checked_cast<FixedInstance *>(obj)->slots[slotIndex].value = a;
else
checked_cast<DynamicInstance *>(obj)->slots[slotIndex].value = a;
push(a);
}
break;