mojoshader.h
changeset 1008 9cbe3e4bfba5
parent 1006 0f65599179f9
child 1009 ba0ed22a4bac
--- a/mojoshader.h	Thu Mar 03 00:00:22 2011 -0800
+++ b/mojoshader.h	Tue Mar 15 01:38:05 2011 -0700
@@ -1281,6 +1281,10 @@
 {
     MOJOSHADER_astNodeInfo ast;  /* Always MOJOSHADER_AST_OP_DEREF_STRUCT */
     const MOJOSHADER_astDataType *datatype;
+    /* !!! FIXME:
+     *  "identifier" is misnamed; this might not be an identifier at all:
+     *    x = FunctionThatReturnsAStruct().SomeMember;
+     */
     MOJOSHADER_astExpression *identifier;
     const char *member;
     int isswizzle;  /* Always 1 or 0. Never set by parseAst()! */