mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 21:20:33 +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) {
|
} else if (sym->sy_type == sy_func) {
|
||||||
*op = def_operand (sym->s.func->def, 0);
|
*op = def_operand (sym->s.func->def, 0);
|
||||||
} else {
|
} else {
|
||||||
internal_error (e, "unexpected symbol type: %s",
|
internal_error (e, "unexpected symbol type: %s for %s",
|
||||||
symtype_str(sym->sy_type));
|
symtype_str(sym->sy_type), sym->name);
|
||||||
}
|
}
|
||||||
return sblock;
|
return sblock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue