mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
minor comment about scoping in traditional mode
This commit is contained in:
parent
fac98536f0
commit
51a32f4f87
1 changed files with 2 additions and 0 deletions
|
@ -577,6 +577,8 @@ var_initializer
|
|||
type_t *type = $<type>-1;
|
||||
|
||||
if (current_scope->type == sc_params) {
|
||||
// In traditional mode, this is the only scope that functions
|
||||
// have.
|
||||
local = 0;
|
||||
$$ = create_def (type, name, current_scope, st_static);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue