mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-07 01:42:04 +00:00
[qfcc] Allow local/param function variables
I thought that was needed, but wasn't sure. It is :P.
This commit is contained in:
parent
d05fcecae4
commit
f713d53fb6
1 changed files with 3 additions and 0 deletions
|
@ -687,6 +687,9 @@ spec_process (specifier_t spec, rua_ctx_t *ctx)
|
|||
if (spec.type && spec.type_expr) {
|
||||
internal_error (0, "both type and type_expr set");
|
||||
}
|
||||
if (spec.storage == sc_local || spec.storage == sc_param) {
|
||||
spec.is_function = false;
|
||||
}
|
||||
if (!spec.type_expr) {
|
||||
spec = default_type (spec, spec.sym);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue