Skip to content
Snippets Groups Projects
Commit 036d53c3 authored by pycsham's avatar pycsham
Browse files

Added a type linking from string literals to the string object

parent bee66b30
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,11 @@ class LiteralNode(ASTNode):
self.value = False
else:
self.value = True
def linkType(self):
if self.name == "java.lang.String":
node = self.env.getNode(self.name, "type")
self.myType = TypeStruct(self.name, node)
##################################################################################
# param type ID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment