]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
improve the warning
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 13 Nov 2012 13:46:14 +0000 (14:46 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 13 Nov 2012 13:46:14 +0000 (14:46 +0100)
parser.c

index d53f3f15f09c5ab67914e78c6109c2e75b16bc90..194f224080787a26369e7757f2082147ab391451 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -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;