mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 08:41:11 +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;
|
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)
|
if (!sym->table)
|
||||||
symtab_addsymbol (pr.symtab, sym);
|
symtab_addsymbol (pr.symtab, sym);
|
||||||
return new_symbol_expr (sym);
|
return new_symbol_expr (sym);
|
||||||
|
@ -805,7 +805,7 @@ new_this_expr (void)
|
||||||
{
|
{
|
||||||
symbol_t *sym;
|
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)
|
if (!sym->table)
|
||||||
symtab_addsymbol (pr.symtab, sym);
|
symtab_addsymbol (pr.symtab, sym);
|
||||||
return new_symbol_expr (sym);
|
return new_symbol_expr (sym);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue