From: Wolfgang (Blub) Bumiller <blub@speed.at>
Date: Tue, 13 Nov 2012 13:46:14 +0000 (+0100)
Subject: improve the warning
X-Git-Tag: 0.1~19^2~2
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51ba2c49d65a3f37c70eb283d012dc06c07531ca;p=xonotic%2Fgmqcc.git

improve the warning
---

diff --git a/parser.c b/parser.c
index d53f3f1..194f224 100644
--- 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;