mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
find the other place def_func relocs get emitted. I keep forgetting about the .y file when grepping source :P
This commit is contained in:
parent
3b7c83a96f
commit
30744a555e
1 changed files with 2 additions and 1 deletions
|
@ -700,7 +700,8 @@ begin_function
|
|||
error (0, "%s redefined", $<def>0->name);
|
||||
$$ = current_func = new_function ($<def>0->name);
|
||||
$$->def = $<def>0;
|
||||
$$->refs = new_reloc ($$->def->ofs, rel_def_func);
|
||||
if (!$$->def->external)
|
||||
reloc_def_func ($$, $$->def->ofs);
|
||||
$$->code = pr.code->size;
|
||||
if (options.code.debug) {
|
||||
pr_lineno_t *lineno = new_lineno ();
|
||||
|
|
Loading…
Reference in a new issue