mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Be more informative for symbol type internal errors
This commit is contained in:
parent
d00a2ef82d
commit
a5da8da1dc
1 changed files with 2 additions and 2 deletions
|
@ -972,8 +972,8 @@ expr_symbol (sblock_t *sblock, expr_t *e, operand_t **op)
|
|||
} else if (sym->sy_type == sy_func) {
|
||||
*op = def_operand (sym->s.func->def, 0);
|
||||
} else {
|
||||
internal_error (e, "unexpected symbol type: %s",
|
||||
symtype_str(sym->sy_type));
|
||||
internal_error (e, "unexpected symbol type: %s for %s",
|
||||
symtype_str(sym->sy_type), sym->name);
|
||||
}
|
||||
return sblock;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue