mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Make aliasing an alias def an internal error.
I haven't seen the bug message show up, so it seems safe, and is probably a good idea with what I have in mind.
This commit is contained in:
parent
cd64c0ad9b
commit
9ca5a9e86c
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ alias_def (def_t *def, type_t *type)
|
|||
expr_t e;
|
||||
e.file = def->file;
|
||||
e.line = def->line;
|
||||
bug (&e, "aliasing an alias def");
|
||||
internal_error (&e, "aliasing an alias def");
|
||||
}
|
||||
ALLOC (16384, def_t, defs, alias);
|
||||
alias->return_addr = __builtin_return_address (0);
|
||||
|
|
Loading…
Reference in a new issue