mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-03 10:00:56 +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;
|
type_t *type = $<type>-1;
|
||||||
|
|
||||||
if (current_scope->type == sc_params) {
|
if (current_scope->type == sc_params) {
|
||||||
|
// In traditional mode, this is the only scope that functions
|
||||||
|
// have.
|
||||||
local = 0;
|
local = 0;
|
||||||
$$ = create_def (type, name, current_scope, st_static);
|
$$ = create_def (type, name, current_scope, st_static);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue