[qfcc] Implement inline function calls

They're buggy in that the defspaces for parameters and locals are
incorrect (they need to point to the calling scope's space). Also,
parameters are not yet hooked up correctly. However, errors (because I
need to allow casts from scalars to vectors) do get handled.
This commit is contained in:
Bill Currie 2024-12-11 03:16:15 +09:00
parent 36cf1f948e
commit 6840a208b9
10 changed files with 378 additions and 38 deletions

View file

@ -140,6 +140,7 @@ is_lvalue (const expr_t *expr)
case ex_intrinsic:
case ex_switch:
case ex_caselabel:
case ex_process:
break;
case ex_cond:
return (is_lvalue (expr->cond.true_expr)