From 51ba2c49d65a3f37c70eb283d012dc06c07531ca Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 13 Nov 2012 14:46:14 +0100 Subject: [PATCH] improve the warning --- parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2