[qfcc] Support qc function local variables

This had gotten completely lost in the rework.
This commit is contained in:
Bill Currie 2023-02-11 20:29:59 +09:00
parent 3a297c70b3
commit 3da7ca4421
1 changed files with 10 additions and 0 deletions

View File

@ -1259,6 +1259,16 @@ decl
$$ = local_expr;
local_expr = 0;
}
| declspecs_ts local_expr qc_func_params
{
specifier_t spec = default_type ($1, 0);
$<spec>$ = parse_qc_params (spec, $3);
}
qc_func_decls
{
$$ = local_expr;
local_expr = 0;
}
| declspecs ';' { $$ = 0; }
;