]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Add a new associativity type for fully associative operators
[libs/gl.git] / source / glsl / syntax.h
index 682a0f5aeeaa2246b01226df25536a23a91d9c7a..0821ee5fe97c8780f836b0ce75f562c939de8d10 100644 (file)
@@ -30,7 +30,8 @@ struct Operator
        enum Associativity
        {
                LEFT_TO_RIGHT,
-               RIGHT_TO_LEFT
+               RIGHT_TO_LEFT,
+               ASSOCIATIVE
        };
 
        char token[4];