]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/parser.h
Store a pointer to operator info rather than the token in expressions
[libs/gl.git] / source / glsl / parser.h
index bce9698f7d608a4b3c18417bf2eef1d149f54a81..376ccc6cd77fa996d02aeff1aa0baf59aea6167b 100644 (file)
@@ -70,7 +70,7 @@ private:
        template<typename T>
        void parse_block(Block &, bool, RefPtr<T> (Parser::*)());
        RefPtr<Expression> parse_expression(unsigned = 0);
-       RefPtr<BinaryExpression> parse_binary(const RefPtr<Expression> &, const Operator *);
+       RefPtr<BinaryExpression> parse_binary(const RefPtr<Expression> &, const Operator &);
        RefPtr<FunctionCall> parse_function_call(const VariableReference &);
        RefPtr<StructDeclaration> parse_struct_declaration();
        RefPtr<VariableDeclaration> parse_variable_declaration();