[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:
Bill Currie 2024-08-31 01:15:07 +09:00
parent 291898b46f
commit 9b2b841a55
8 changed files with 197 additions and 23 deletions

View file

@ -107,6 +107,7 @@ is_lvalue (const expr_t *expr)
case sy_convert:
break;
case sy_macro:
case sy_namespace:
break;
}
break;