mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[qfcc] Copy def reg into alias def
This fixes incorrect local struct member access in Ruamoko progs.
This commit is contained in:
parent
5cf7924352
commit
7e147e703c
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ alias_def (def_t *def, type_t *type, int offset)
|
||||||
alias->line = pr.source_line;
|
alias->line = pr.source_line;
|
||||||
alias->file = pr.source_file;
|
alias->file = pr.source_file;
|
||||||
alias->next = def->alias_defs;
|
alias->next = def->alias_defs;
|
||||||
|
alias->reg = def->reg;
|
||||||
def->alias_defs = alias;
|
def->alias_defs = alias;
|
||||||
return alias;
|
return alias;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue