]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
verbose error about unhandled operators
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 16 Aug 2012 14:07:00 +0000 (16:07 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 16 Aug 2012 14:07:00 +0000 (16:07 +0200)
parser.c

index fcad9b4a857764a86c530785029ca799394f52b0..74074392d6ee5263485a7f77d5b3b0db24eb3806 100644 (file)
--- 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('.'):