From: Wolfgang (Blub) Bumiller Date: Fri, 30 Nov 2012 19:40:48 +0000 (+0100) Subject: additional info in an internal error X-Git-Tag: 0.1.9~160 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1a264e557643691047583febdfe506fe83eb3bf6;p=xonotic%2Fgmqcc.git additional info in an internal error --- diff --git a/ast.c b/ast.c index 390faf7..9ad45fa 100644 --- 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);