]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/parser.h
Implement the ternary operator in GLSL
[libs/gl.git] / source / glsl / parser.h
index bd5641399557cc4655d818d88fd1e0d85be37a43..c98867a3791e866ecd31a9c7cc5076e7443482cf 100644 (file)
@@ -73,6 +73,7 @@ private:
        RefPtr<Expression> parse_expression(const Operator * = 0);
        RefPtr<Literal> parse_literal();
        RefPtr<BinaryExpression> parse_binary(const RefPtr<Expression> &, const Operator &);
+       RefPtr<TernaryExpression> parse_ternary(const RefPtr<Expression> &, const Operator &);
        RefPtr<FunctionCall> parse_function_call(const VariableReference &);
        RefPtr<TypeDeclaration> parse_type_declaration();
        RefPtr<BasicTypeDeclaration> parse_basic_type_declaration();