verbose error about unhandled operators

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-16 16:07:00 +02:00
parent 7bc564f175
commit 7c731b70cf

View file

@ -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('.'):