mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
d'oh, I thought I tested with those lines in :/
This commit is contained in:
parent
46bad45c7a
commit
0ef4a7513d
1 changed files with 4 additions and 4 deletions
|
@ -90,8 +90,8 @@ add_defs (qfo_t *qfo)
|
|||
} else {
|
||||
if (def->flags & QFOD_GLOBAL) {
|
||||
if ((d = Hash_Find (defined_defs, pr.strings + def->name))) {
|
||||
pr.source_file = (*def)->file;
|
||||
pr.source_line = (*def)->line;
|
||||
pr.source_file = def->file;
|
||||
pr.source_line = def->line;
|
||||
error (0, "%s redefined", pr.strings + def->name);
|
||||
}
|
||||
}
|
||||
|
@ -107,8 +107,8 @@ add_defs (qfo_t *qfo)
|
|||
while ((d = Hash_Find (extern_defs, pr.strings + def->name))) {
|
||||
Hash_Del (extern_defs, pr.strings + d->name);
|
||||
if (d->full_type != def->full_type) {
|
||||
pr.source_file = (*def)->file;
|
||||
pr.source_line = (*def)->line;
|
||||
pr.source_file = def->file;
|
||||
pr.source_line = def->line;
|
||||
error (0, "type mismatch %s %s",
|
||||
pr.strings + def->full_type,
|
||||
pr.strings + d->full_type);
|
||||
|
|
Loading…
Reference in a new issue