Technically, a typecast is a unary operator.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 06 Dec 2010 02:39:54 -0500
changeset 962 8eb68e925508
parent 961 57c151739a30
child 963 5a8f7ef13735
Technically, a typecast is a unary operator.
mojoshader.h
--- a/mojoshader.h	Mon Nov 22 13:31:01 2010 -0500
+++ b/mojoshader.h	Mon Dec 06 02:39:54 2010 -0500
@@ -932,6 +932,7 @@
     MOJOSHADER_AST_OP_NOT,
     MOJOSHADER_AST_OP_POSTINCREMENT,
     MOJOSHADER_AST_OP_POSTDECREMENT,
+    MOJOSHADER_AST_OP_CAST,
     MOJOSHADER_AST_OP_END_RANGE_UNARY,
 
     MOJOSHADER_AST_OP_START_RANGE_BINARY,  /* binary operators. */
@@ -984,7 +985,6 @@
     MOJOSHADER_AST_OP_DEREF_STRUCT,
     MOJOSHADER_AST_OP_CALLFUNC,
     MOJOSHADER_AST_OP_CONSTRUCTOR,
-    MOJOSHADER_AST_OP_CAST,
     MOJOSHADER_AST_OP_END_RANGE_MISC,
     MOJOSHADER_AST_OP_END_RANGE,