Make sure that there is always a comma between T and V in property attributes.

main
theraven 13 years ago
parent 95aef24803
commit d1f3463ac7

@ -434,10 +434,7 @@ PRIVATE const char *constructPropertyAttributes(objc_property_t property,
memcpy(insert, property->setter_name, setterLength); memcpy(insert, property->setter_name, setterLength);
insert += setterLength; insert += setterLength;
} }
if (i > 0) *(insert++) = ',';
{
*(insert++) = ',';
}
*(insert++) = 'V'; *(insert++) = 'V';
// If the instance variable name is the same as the property name, then we // If the instance variable name is the same as the property name, then we
// use the same string for both, otherwise we write the ivar name in the // use the same string for both, otherwise we write the ivar name in the

Loading…
Cancel
Save