]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
different warning message
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 15:08:00 +0000 (17:08 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 15:08:00 +0000 (17:08 +0200)
parser.c

index c2117468095da864b99429d9199cf31247ca431a..a43d039440983f4aa51e5196cbf9c5b7cd9688be 100644 (file)
--- a/parser.c
+++ b/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);