From: Wolfgang (Blub) Bumiller Date: Fri, 30 Nov 2012 13:47:55 +0000 (+0100) Subject: remove array-field without parens warning since it seems to not be broken in fteqcc... X-Git-Tag: 0.1.9~178 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f587e9cfb3e8329f20f364dd0435d8b23a65a9a4;p=xonotic%2Fgmqcc.git remove array-field without parens warning since it seems to not be broken in fteqcc anymore --- diff --git a/parser.c b/parser.c index c13fb89..3c889b5 100644 --- a/parser.c +++ b/parser.c @@ -575,12 +575,15 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy) out = (ast_expression*)ast_array_index_new(ctx, exprs[0], exprs[1]); if (rotate_entfield_array_index_nodes(&out)) { +#if 0 + /* This is not broken in fteqcc anymore */ if (opts_standard != COMPILER_GMQCC) { /* this error doesn't need to make us bail out */ (void)!parsewarning(parser, WARN_EXTENSIONS, "accessing array-field members of an entity without parenthesis\n" " -> this is an extension from -std=gmqcc"); } +#endif } break;