]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.cpp
Record statement source lines and emit #line directives to output
[libs/gl.git] / source / programsyntax.cpp
index edd38eaa84285c5924699d9671bc8fb3178a287b..6dea029f2fe024d1fed301a20cf93bd2fc80f430 100644 (file)
@@ -15,6 +15,12 @@ NodeContainer<C>::NodeContainer(const NodeContainer &c):
 }
 
 
+Statement::Statement():
+       source(0),
+       line(1)
+{ }
+
+
 Block::Block():
        use_braces(false)
 { }