]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programcompiler.h
Do not clear previous assignments on assignment to array subscript
[libs/gl.git] / source / programcompiler.h
index 06306743fb7945b5f2783c70663bf11ff4a04828..1f0601b5871f859a5dc771f6566f9311644d355d 100644 (file)
@@ -279,6 +279,7 @@ private:
                std::vector<BlockVariableMap> variables;
                ProgramSyntax::Assignment *assignment;
                bool assignment_target;
+               bool assign_to_subscript;
                bool global_scope;
 
                UnusedVariableLocator();