]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/debug.h
Make the GLSL parser resilient against common errors
[libs/gl.git] / source / glsl / debug.h
index 66f2b067c15776cf5806453c1e0548ec00365734..87ec4734e0b1bda18e4513a481688bbfee693fc0 100644 (file)
@@ -8,6 +8,8 @@ namespace Msp {
 namespace GL {
 namespace SL {
 
+/** Creates a textual representation of the syntax tree.  The result is encoded
+as UTF-8. */
 class DumpTree: private TraversingVisitor
 {
 private:
@@ -42,6 +44,7 @@ private:
        virtual void visit(Literal &);
        virtual void visit(ParenthesizedExpression &);
        virtual void visit(VariableReference &);
+       virtual void visit(InterfaceBlockReference &);
        virtual void visit(MemberAccess &);
        virtual void visit(UnaryExpression &);
        virtual void visit(BinaryExpression &);