This commit is contained in:
rogerl%netscape.com 2002-12-27 00:56:29 +00:00
Родитель b1e0a48538
Коммит 4b091acd30
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -55,6 +55,7 @@ static const char *const kindStrings[] = {
"Definition error", // a monkey is a small cup of milk "Definition error", // a monkey is a small cup of milk
"Bad Value error", // bad value, no biscuit "Bad Value error", // bad value, no biscuit
"Compile expression error", // invalid compile-time execution "Compile expression error", // invalid compile-time execution
"Property access error", // you're at the wrong house
"Uninitialized error", // read before write "Uninitialized error", // read before write
"Argument mismatch error", // bad argument type/number "Argument mismatch error", // bad argument type/number
}; };

Просмотреть файл

@ -3238,6 +3238,8 @@ XXX see EvalAttributeExpression, where identifiers are being handled for now...
isPrototypeInstance = true; isPrototypeInstance = true;
dMap = &(checked_cast<PrototypeInstance *>(container))->dynamicProperties; dMap = &(checked_cast<PrototypeInstance *>(container))->dynamicProperties;
} }
if (dMap == NULL)
return false; // 'None'
for (DynamicPropertyIterator i = dMap->begin(), end = dMap->end(); (i != end); i++) { for (DynamicPropertyIterator i = dMap->begin(), end = dMap->end(); (i != end); i++) {
if (i->first == *name) { if (i->first == *name) {
*rval = i->second; *rval = i->second;