mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Add the .return etc symbols to the symbol table.
This puts their defs into the object file.
This commit is contained in:
parent
c3f1c186f8
commit
bbedbf5c9c
1 changed files with 3 additions and 1 deletions
|
@ -818,7 +818,9 @@ param_expr (const char *name, type_t *type)
|
|||
symbol_t *sym;
|
||||
expr_t *sym_expr;
|
||||
|
||||
sym = make_symbol (name, &type_param, 0, st_extern);
|
||||
sym = make_symbol (name, &type_param, pr.symtab->space, st_extern);
|
||||
if (!sym->table)
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
sym_expr = new_symbol_expr (sym);
|
||||
return new_alias_expr (type, sym_expr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue