diff --git a/tools/qfcc/source/def.c b/tools/qfcc/source/def.c index 8472e1df4..44c3d74c6 100644 --- a/tools/qfcc/source/def.c +++ b/tools/qfcc/source/def.c @@ -196,6 +196,7 @@ alias_def (def_t *def, type_t *type, int offset) alias->line = pr.source_line; alias->file = pr.source_file; alias->next = def->alias_defs; + alias->reg = def->reg; def->alias_defs = alias; return alias; }