a more verbose error

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-25 15:58:10 +01:00
parent 4b619ce1cd
commit 2da37129d7

View file

@ -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;
}