Fixed type propagation for dereference and address-of, needs work for all the other operators also. Starting ground work for array notation

This commit is contained in:
Nathan Braswell
2014-05-05 13:52:12 -04:00
parent 9a4507a0f5
commit 209985310e
4 changed files with 25 additions and 4 deletions

View File

@@ -83,3 +83,7 @@ std::string Type::toString() {
typeString += "*";
return typeString;
}
Type* Type::clone() {
return new Type(baseType, typeDefinition, indirection);
}