Skip to content

Commit

Permalink
Workaround buggy C99 support in MSVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Jun 23, 2014
1 parent d7b66c2 commit 8005009
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sourcepawn/compiler/sc1.c
Expand Up @@ -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)
{
token_t tok;
token_ident_t ident;
int is_native = FALSE;

Expand Down Expand Up @@ -3590,10 +3589,10 @@ int parse_property_accessor(const declinfo_t *decl, methodmap_t *map, methodmap_
methodmap_method_t *parse_property(methodmap_t *map)
{
declinfo_t decl;
token_ident_t ident;

if (!parse_decl(&decl, NULL, DECLFLAG_ONLY_NEW_TYPES))
return NULL;

token_ident_t ident;
if (!needsymbol(&ident))
return NULL;

Expand Down
Binary file added sourcepawn/compiler/scpack
Binary file not shown.
1 change: 1 addition & 0 deletions sourcepawn/compiler/spcomp

0 comments on commit 8005009

Please sign in to comment.