]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programparser.h
Remove unused variable and struct declarations from the syntax tree
[libs/gl.git] / source / programparser.h
index 4bd6b70e99e1b9e2064eb9de9416a253ae5286bc..390f19cbdf921a24ca6c2a6f00adcb76d7c9cce9 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <deque>
 #include <map>
+#include <set>
 #include <string>
 #include <msp/io/base.h>
 #include "programsyntax.h"
@@ -40,6 +41,7 @@ private:
        std::deque<std::string> next_tokens;
        ProgramSyntax::Module main_module;
        ProgramSyntax::Module *cur_module;
+       std::set<std::string> declared_types;
 
        static Operator operators[];