Added a FIXME.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 13 Jan 2011 02:50:21 -0500
changeset 977 dc3fb84992b8
parent 976 72f121a58548
child 978 0e17db32f9ce
Added a FIXME.
mojoshader_compiler.c
--- a/mojoshader_compiler.c	Thu Jan 13 02:50:15 2011 -0500
+++ b/mojoshader_compiler.c	Thu Jan 13 02:50:21 2011 -0500
@@ -2773,6 +2773,14 @@
 
         case MOJOSHADER_AST_STRUCT_DECLARATION:
         {
+            // !!! FIXME: We don't handle struct predeclaration at all right now
+            // !!! FIXME:  (neither does the grammar)...not only does that mean
+            // !!! FIXME:  you need to know the struct definition up front, but
+            // !!! FIXME:  you can't do "struct XXX *next;" for a self-referencing
+            // !!! FIXME:  linked list struct thing. This probably isn't a big
+            // !!! FIXME:  deal, as there aren't (CURRENTLY!) pointers in HLSL,
+            // !!! FIXME:  but you never know.
+
             const MOJOSHADER_astStructMembers *mbrs;
 
             // !!! FIXME: count this during parsing?