mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
static defs are initialized too
This commit is contained in:
parent
842a9d2eb0
commit
d7eea11c91
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ def_item
|
||||||
: def_name opt_initializer
|
: def_name opt_initializer
|
||||||
{
|
{
|
||||||
$$ = $1;
|
$$ = $1;
|
||||||
if ($$ && $$->global
|
if ($$ && !$$->local
|
||||||
&& $$->type->type != ev_func)
|
&& $$->type->type != ev_func)
|
||||||
def_initialized ($$);
|
def_initialized ($$);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue