More MSVC fixes.

This commit is contained in:
David Anderson 2014-06-22 22:47:17 -07:00
parent 8005009420
commit 92ace5497f

View File

@ -3590,13 +3590,14 @@ methodmap_method_t *parse_property(methodmap_t *map)
{ {
declinfo_t decl; declinfo_t decl;
token_ident_t ident; token_ident_t ident;
methodmap_method_t *method;
if (!parse_decl(&decl, NULL, DECLFLAG_ONLY_NEW_TYPES)) if (!parse_decl(&decl, NULL, DECLFLAG_ONLY_NEW_TYPES))
return NULL; return NULL;
if (!needsymbol(&ident)) if (!needsymbol(&ident))
return NULL; return NULL;
methodmap_method_t *method = (methodmap_method_t *)calloc(1, sizeof(methodmap_method_t)); method = (methodmap_method_t *)calloc(1, sizeof(methodmap_method_t));
strcpy(method->name, ident.name); strcpy(method->name, ident.name);
method->target = NULL; method->target = NULL;
method->getter = NULL; method->getter = NULL;