mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
additional info in an internal error
This commit is contained in:
parent
b3a9c4e8d9
commit
1a264e5576
1 changed files with 1 additions and 1 deletions
2
ast.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue