Work on fixing class templates instantiated outside of functions. Groundwork done, but it doesn't work. Doesn't break anything else either. Bedtime.

This commit is contained in:
Nathan Braswell
2014-06-09 00:21:38 -07:00
parent 9bfbc7cdf6
commit 812d40c6db
6 changed files with 107 additions and 92 deletions

View File

@@ -40,11 +40,13 @@ class Type {
void decreaseIndirection();
void modifyIndirection(int mod);
void check();
ValueType baseType;
ValueType baseType;
NodeTree<ASTData>* typeDefinition;
NodeTree<Symbol>* templateDefinition;
std::map<std::string, Type*> templateTypeReplacement;
private:
int indirection;
};
#endif
#endif