Workaround buggy C99 support in MSVC.

This commit is contained in:
David Anderson 2014-06-22 22:44:16 -07:00
parent d7b66c2515
commit 8005009420
3 changed files with 3 additions and 3 deletions

View File

@ -3511,7 +3511,6 @@ int check_this_tag(methodmap_t *map, symbol *target)
int parse_property_accessor(const declinfo_t *decl, methodmap_t *map, methodmap_method_t *method) int parse_property_accessor(const declinfo_t *decl, methodmap_t *map, methodmap_method_t *method)
{ {
token_t tok;
token_ident_t ident; token_ident_t ident;
int is_native = FALSE; int is_native = FALSE;
@ -3590,10 +3589,10 @@ int parse_property_accessor(const declinfo_t *decl, methodmap_t *map, methodmap_
methodmap_method_t *parse_property(methodmap_t *map) methodmap_method_t *parse_property(methodmap_t *map)
{ {
declinfo_t decl; declinfo_t decl;
token_ident_t ident;
if (!parse_decl(&decl, NULL, DECLFLAG_ONLY_NEW_TYPES)) if (!parse_decl(&decl, NULL, DECLFLAG_ONLY_NEW_TYPES))
return NULL; return NULL;
token_ident_t ident;
if (!needsymbol(&ident)) if (!needsymbol(&ident))
return NULL; return NULL;

BIN
sourcepawn/compiler/scpack Executable file

Binary file not shown.

1
sourcepawn/compiler/spcomp Symbolic link
View File

@ -0,0 +1 @@
/home/dvander/alliedmodders/sourcemod/obj-linux/sourcepawn/compiler/spcomp/spcomp