mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 02:10:53 +00:00
different warning message
This commit is contained in:
parent
ca1c9b921d
commit
c4cd49a408
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -1379,7 +1379,7 @@ static bool parser_parse_statement(parser_t *parser, ast_block *block, ast_expre
|
|||
else if (!strcmp(parser_tokval(parser), "for"))
|
||||
{
|
||||
if (opts_standard == COMPILER_QCC) {
|
||||
if (parsewarning(parser, WARN_EXTENSIONS, "there's no for-loop in -std=qcc"))
|
||||
if (parsewarning(parser, WARN_EXTENSIONS, "for loops are not recognized in the original Quake C standard, to enable try an alternate standard --std=?"))
|
||||
return false;
|
||||
}
|
||||
return parser_parse_for(parser, block, out);
|
||||
|
|
Loading…
Reference in a new issue