]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/parser.h
Store actual values for literals
[libs/gl.git] / source / glsl / parser.h
index 26867ec4dcd881230229b253927457ba1f1a72d7..13ec0ab9a1f8de2f0acdd279e3a4bef1ed35403e 100644 (file)
@@ -71,6 +71,7 @@ private:
        template<typename T>
        void parse_block(Block &, bool, RefPtr<T> (Parser::*)());
        RefPtr<Expression> parse_expression(unsigned = 0);
+       RefPtr<Literal> parse_literal();
        RefPtr<BinaryExpression> parse_binary(const RefPtr<Expression> &, const Operator &);
        RefPtr<FunctionCall> parse_function_call(const VariableReference &);
        RefPtr<TypeDeclaration> parse_type_declaration();