]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
additional info in an internal error
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 30 Nov 2012 19:40:48 +0000 (20:40 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 30 Nov 2012 19:40:48 +0000 (20:40 +0100)
ast.c

diff --git a/ast.c b/ast.c
index 390faf7e073117b33cde5fe6d87a0b1fe247fac6..9ad45fa7337b7891cb9d5534e6631f10883aa4ef 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -997,7 +997,7 @@ ast_function* ast_function_new(lex_ctx ctx, const char *name, ast_value *vtype)
         vtype->hasvalue ||
         vtype->expression.vtype != TYPE_FUNCTION)
     {
-        compile_error(ast_ctx(self), "internal error: ast_function_new condition %i %i type=%i",
+        compile_error(ast_ctx(self), "internal error: ast_function_new condition %i %i type=%i (probably 2 bodies?)",
                  (int)!vtype,
                  (int)vtype->hasvalue,
                  vtype->expression.vtype);