Minor bug fixes.
git-svn-id: svn://10.0.0.236/trunk@135645 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -55,6 +55,7 @@ static const char *const kindStrings[] = {
|
||||
"Definition error", // a monkey is a small cup of milk
|
||||
"Bad Value error", // bad value, no biscuit
|
||||
"Compile expression error", // invalid compile-time execution
|
||||
"Property access error", // you're at the wrong house
|
||||
"Uninitialized error", // read before write
|
||||
"Argument mismatch error", // bad argument type/number
|
||||
};
|
||||
|
||||
@@ -3238,6 +3238,8 @@ XXX see EvalAttributeExpression, where identifiers are being handled for now...
|
||||
isPrototypeInstance = true;
|
||||
dMap = &(checked_cast<PrototypeInstance *>(container))->dynamicProperties;
|
||||
}
|
||||
if (dMap == NULL)
|
||||
return false; // 'None'
|
||||
for (DynamicPropertyIterator i = dMap->begin(), end = dMap->end(); (i != end); i++) {
|
||||
if (i->first == *name) {
|
||||
*rval = i->second;
|
||||
|
||||
Reference in New Issue
Block a user