From 2da37129d75cfc6d11da2b63b41b0c327772e0a9 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 25 Nov 2012 15:58:10 +0100 Subject: [PATCH] a more verbose error --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }