Commit 7eef4197 authored by Igor Dejanovic's avatar Igor Dejanovic

Fix in the getASG logging

parent c7c7a99e
...@@ -676,12 +676,12 @@ class Parser(object): ...@@ -676,12 +676,12 @@ class Parser(object):
return retval return retval
if parser.debug: if self.debug:
print "ASG: First pass" print "ASG: First pass"
asg = tree_walk(self.parse_tree) asg = tree_walk(self.parse_tree)
# Second pass # Second pass
if parser.debug: if self.debug:
print "ASG: Second pass" print "ASG: Second pass"
for sa_name, asg_node in for_second_pass: for sa_name, asg_node in for_second_pass:
sem_actions[sa_name].second_pass(self, asg_node) sem_actions[sa_name].second_pass(self, asg_node)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment