mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Update glsl function declaration handling
Finally back to where I was before discovering that arrays with computed counts didn't work.
This commit is contained in:
parent
ea3198e8fe
commit
9aea4d4b61
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ function_definition
|
||||||
auto spec = $1;
|
auto spec = $1;
|
||||||
spec.sym->params = spec.params;
|
spec.sym->params = spec.params;
|
||||||
spec.is_overload = true;
|
spec.is_overload = true;
|
||||||
|
spec.type = find_type (parse_params (spec.type, spec.params));
|
||||||
spec.sym = function_symbol (spec, ctx);
|
spec.sym = function_symbol (spec, ctx);
|
||||||
current_func = begin_function (spec, nullptr, current_symtab, ctx);
|
current_func = begin_function (spec, nullptr, current_symtab, ctx);
|
||||||
current_symtab = current_func->locals;
|
current_symtab = current_func->locals;
|
||||||
|
|
Loading…
Reference in a new issue