improve the warning

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-13 14:46:14 +01:00
parent b1175eabfc
commit 51ba2c49d6

View file

@ -521,7 +521,8 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
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");
"accessing array-field members of an entity without parenthesis\n"
" -> this is an extension from -std=gmqcc");
}
}
break;