]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
remove array-field without parens warning since it seems to not be broken in fteqcc...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 30 Nov 2012 13:47:55 +0000 (14:47 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 30 Nov 2012 13:47:55 +0000 (14:47 +0100)
parser.c

index c13fb8927decb5e12b8602665f5a734f9e265aac..3c889b51ce7e5709716527a04fb1855ce7c7303e 100644 (file)
--- 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;