mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Ensure defs for @self and @this are generated.
This commit is contained in:
parent
2de7733b6a
commit
2c9c1bd968
1 changed files with 2 additions and 2 deletions
|
@ -794,7 +794,7 @@ new_self_expr (void)
|
|||
{
|
||||
symbol_t *sym;
|
||||
|
||||
sym = make_symbol (".self", &type_entity, 0, st_extern);
|
||||
sym = make_symbol (".self", &type_entity, pr.near_data, st_extern);
|
||||
if (!sym->table)
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
return new_symbol_expr (sym);
|
||||
|
@ -805,7 +805,7 @@ new_this_expr (void)
|
|||
{
|
||||
symbol_t *sym;
|
||||
|
||||
sym = make_symbol (".this", field_type (&type_id), 0, st_extern);
|
||||
sym = make_symbol (".this", field_type (&type_id), pr.near_data, st_extern);
|
||||
if (!sym->table)
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
return new_symbol_expr (sym);
|
||||
|
|
Loading…
Reference in a new issue