mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
[qfcc] Redo interface blocks as namespaces
There's no direct support for namespaces in Ruamoko yet, nor even in qfcc, but glsl's blocks bring in a bit of foundation for them, even the concept of "using" (for blocks with no instance name). The members don't get locations allocated to them yet, but fstrianglest.vert compiles and links correctly otherwise. Also, there's no error checking yet.
This commit is contained in:
parent
291898b46f
commit
9b2b841a55
8 changed files with 197 additions and 23 deletions
|
@ -107,6 +107,7 @@ is_lvalue (const expr_t *expr)
|
|||
case sy_convert:
|
||||
break;
|
||||
case sy_macro:
|
||||
case sy_namespace:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue