From: Wolfgang (Blub) Bumiller Date: Sun, 25 Nov 2012 14:58:10 +0000 (+0100) Subject: a more verbose error X-Git-Tag: 0.1.9~267 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2da37129d75cfc6d11da2b63b41b0c327772e0a9;p=xonotic%2Fgmqcc.git a more verbose error --- diff --git a/parser.c b/parser.c index 4e628d9..a38e41f 100644 --- a/parser.c +++ b/parser.c @@ -3682,7 +3682,7 @@ skipvar: if (parser->tok != '{') { if (parser->tok != '=') { - parseerror(parser, "missing semicolon or initializer"); + parseerror(parser, "missing semicolon or initializer, got: `%s`", parser_tokval(parser)); break; }