]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.cpp
Assign a result type to all expressions
[libs/gl.git] / source / glsl / syntax.cpp
index c8058c4fe9a228b102cbe4792daa83dc3f921f70..d7eec3da4bf680cbf4125d0cb747feccd54af38d 100644 (file)
@@ -94,7 +94,9 @@ void Block::visit(NodeVisitor &visitor)
 
 
 Expression::Expression():
-       oper(0)
+       oper(0),
+       type(0),
+       lvalue(false)
 { }