mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
[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:
parent
36cf1f948e
commit
6840a208b9
10 changed files with 378 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue