From: Wolfgang (Blub) Bumiller Date: Thu, 16 Aug 2012 14:07:00 +0000 (+0200) Subject: verbose error about unhandled operators X-Git-Tag: 0.1-rc1~248 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7c731b70cf91a52d6f318e801d46d86eafcc4241;p=xonotic%2Fgmqcc.git verbose error about unhandled operators --- diff --git a/parser.c b/parser.c index fcad9b4..7407439 100644 --- a/parser.c +++ b/parser.c @@ -484,7 +484,7 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy) switch (op->id) { default: - parseerror(parser, "internal error: unhandled operator"); + parseerror(parser, "internal error: unhandled operator: %s (%i)", op->op, (int)op->id); return false; case opid1('.'):