summaryrefslogtreecommitdiff
path: root/LinkedNode.py
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2011-12-03 11:28:39 +0000
committerPeter Wu <lekensteyn@gmail.com>2011-12-03 11:28:39 +0000
commit1ef20f9e52551d6cdca02ecd9bc829bdb859c7f7 (patch)
treeec6b9ab063b2ef0ca38d9a90178d077af1584fa8 /LinkedNode.py
parent3e8b807851337de5abf668892da2a589b6d8fad2 (diff)
downloadpp2cc-1ef20f9e52551d6cdca02ecd9bc829bdb859c7f7.tar.gz
Process function declarations to avoid "undefined function" warnings
Diffstat (limited to 'LinkedNode.py')
-rw-r--r--LinkedNode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/LinkedNode.py b/LinkedNode.py
index f068993..b24812a 100644
--- a/LinkedNode.py
+++ b/LinkedNode.py
@@ -101,6 +101,7 @@ class LinkedNode(object):
allocation function
"""
self.function = function
+ function.setLinkedNode(self)
self.variables.setFunction(function)
def getLocation(self):
if hasattr(self.node, "coord"):