X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fparser.h;h=c98867a3791e866ecd31a9c7cc5076e7443482cf;hb=3a1fe833ea04df75449706f1d773f6e65521a392;hp=26867ec4dcd881230229b253927457ba1f1a72d7;hpb=4c805f55d89919d6971d600102ab4d6d65d56dc3;p=libs%2Fgl.git diff --git a/source/glsl/parser.h b/source/glsl/parser.h index 26867ec4..c98867a3 100644 --- a/source/glsl/parser.h +++ b/source/glsl/parser.h @@ -70,8 +70,10 @@ private: RefPtr parse_layout(); template void parse_block(Block &, bool, RefPtr (Parser::*)()); - RefPtr parse_expression(unsigned = 0); + RefPtr parse_expression(const Operator * = 0); + RefPtr parse_literal(); RefPtr parse_binary(const RefPtr &, const Operator &); + RefPtr parse_ternary(const RefPtr &, const Operator &); RefPtr parse_function_call(const VariableReference &); RefPtr parse_type_declaration(); RefPtr parse_basic_type_declaration();