mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 05:01:24 +00:00
[qfcc] Handle storage blocks for parameters
Klik is the only code base that uses them, so the param storage class check got confused by them.
This commit is contained in:
parent
df04a37a8c
commit
d05fcecae4
1 changed files with 2 additions and 1 deletions
|
@ -534,7 +534,8 @@ static param_t *
|
|||
make_param (specifier_t spec, rua_ctx_t *ctx)
|
||||
{
|
||||
//FIXME should not be sc_global
|
||||
if (spec.storage == sc_global) {
|
||||
//FIXME if (spec.storage == sc_global || spec.storage == sc_extern) {
|
||||
if (spec.storage < sc_inout) {
|
||||
spec.storage = sc_param;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue