From 7c731b70cf91a52d6f318e801d46d86eafcc4241 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 16 Aug 2012 16:07:00 +0200 Subject: [PATCH] verbose error about unhandled operators --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('.'): -- 2.39.2