mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
move external defs from the external table to the global table when they
get defined
This commit is contained in:
parent
463c5724db
commit
295a9c1115
1 changed files with 3 additions and 3 deletions
|
@ -185,9 +185,9 @@ process_def (qfo_def_t *def)
|
|||
}
|
||||
}
|
||||
if (def->flags & QFOD_GLOBAL) {
|
||||
while ((d = Hash_Find (extern_defs,
|
||||
strings->strings + def->name))) {
|
||||
Hash_Del (extern_defs, strings->strings + d->name);
|
||||
while ((d = Hash_Del (extern_defs,
|
||||
strings->strings + def->name))) {
|
||||
Hash_Add (defined_defs, d);
|
||||
if (d->full_type != def->full_type) {
|
||||
pr.source_file = def->file;
|
||||
pr.source_line = def->line;
|
||||
|
|
Loading…
Reference in a new issue