mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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->file = pr.source_file;
|
||||
alias->next = def->alias_defs;
|
||||
alias->reg = def->reg;
|
||||
def->alias_defs = alias;
|
||||
return alias;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue