]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
verbose error about unhandled operators
[xonotic/gmqcc.git] / 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('.'):