Simplify SimpleType.

This commit is contained in:
Kui LIU
2017-07-31 18:12:26 +02:00
parent b1a1c15b2b
commit e0b4b7c47f
@@ -147,7 +147,11 @@ public class SimplifyTree {
}
} else {
simpleTree.setNodeType(astNode);
simpleTree.setLabel(label.replaceAll(" ", ""));
if (astNode.endsWith("Type")) {
simpleTree.setLabel(canonicalizeTypeStr(label).replaceAll(" ", ""));
} else {
simpleTree.setLabel(label.replaceAll(" ", ""));
}
}
}