]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.h
Record statement source lines and emit #line directives to output
[libs/gl.git] / source / programsyntax.h
index 3db059c4f4d79c4e6252537c5a1cfc27b90e223e..590429519118614f6a59a83796da97f50693ff9c 100644 (file)
@@ -66,6 +66,11 @@ struct FunctionDeclaration;
 
 struct Statement: Node
 {
+       unsigned source;
+       unsigned line;
+
+       Statement();
+
        virtual Statement *clone() const = 0;
 };