mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
remove array-field without parens warning since it seems to not be broken in fteqcc anymore
This commit is contained in:
parent
0252c0a47a
commit
f587e9cfb3
1 changed files with 3 additions and 0 deletions
3
parser.c
3
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue